Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.662/2.662, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 8 kB / 0.8375 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8701/0.8705, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.00224/0.8728, allocations: 0.9684 MB / 0.9818 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00527/0.8781, allocations: 2.837 MB / 0.9846 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.228e-05/0.8782, allocations: 3.938 kB / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.8783, allocations: 0 / 0.9846 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.978e-05/0.8783, allocations: 3.984 kB / 0.9846 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.8789, allocations: 95.7 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.928e-05/0.8791, allocations: 19.97 kB / 0.9847 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.761e-05/0.8791, allocations: 4 kB / 0.9847 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.8792, allocations: 31.78 kB / 0.9847 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/0.8793, allocations: 15.98 kB / 0.9847 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.8794, allocations: 0 / 0.9847 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.8797, allocations: 59.89 kB / 0.9848 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.8797, allocations: 4 kB / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.8798, allocations: 37.69 kB / 0.9848 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.88, allocations: 34.22 kB / 0.9849 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.88, allocations: 0 / 0.9849 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.883e-06/0.88, allocations: 3.938 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.88, allocations: 0 / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004607/0.8805, allocations: 335.3 kB / 0.9852 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.8805, allocations: 8.031 kB / 0.9852 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.8806, allocations: 38.56 kB / 0.9852 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.8807, allocations: 4 kB / 0.9852 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.8809, allocations: 163.1 kB / 0.9854 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.8809, allocations: 3.938 kB / 0.9854 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.8809, allocations: 19.84 kB / 0.9854 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.8811, allocations: 45.69 kB / 0.9855 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.8811, allocations: 3.984 kB / 0.9855 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.8811, allocations: 4 kB / 0.9855 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8811, allocations: 4 kB / 0.9855 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.8812, allocations: 15.92 kB / 0.9855 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.8814, allocations: 165.7 kB / 0.9856 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.8815, allocations: 54.55 kB / 0.9857 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007765/0.8823, allocations: 0.5907 MB / 0.9863 GB, free: 444 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.8823, allocations: 34.55 kB / 0.9863 GB, free: 400 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 3.016e-06/0.8823, allocations: 0 / 0.9863 GB, free: 400 kB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006169/0.883, allocations: 306.4 kB / 0.9866 GB, free: 40 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.883, allocations: 55.41 kB / 0.9867 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.8831, allocations: 101.8 kB / 0.9867 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.8832, allocations: 25.7 kB / 0.9868 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.8832, allocations: 84.05 kB / 0.9869 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.8832, allocations: 27.64 kB / 0.9869 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.8832, allocations: 4 kB / 0.9869 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8834, allocations: 322.8 kB / 0.9872 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.523e-05/0.8834, allocations: 8 kB / 0.9872 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.435e-05/0.8835, allocations: 53.14 kB / 0.9872 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.8835, allocations: 27.92 kB / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8835, allocations: 0 / 0.9873 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001542/0.8837, allocations: 97.41 kB / 0.9874 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.8837, allocations: 14.02 kB / 0.9874 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8837, allocations: 3.938 kB / 0.9874 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8838, allocations: 4 kB / 0.9874 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.494e-05/0.8838, allocations: 16 kB / 0.9874 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8839, allocations: 0 / 0.9874 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.854e-05/0.8839, allocations: 4.438 kB / 0.9874 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.8839, allocations: 8.125 kB / 0.9874 GB, free: 15.14 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.884, allocations: 125.7 kB / 0.9875 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.884, allocations: 0 / 0.9875 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.8841, allocations: 7.969 kB / 0.9875 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8841, allocations: 4 kB / 0.9875 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.8841, allocations: 4 kB / 0.9876 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8841, allocations: 0 / 0.9876 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.8843, allocations: 177.6 kB / 0.9877 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8844, allocations: 0 / 0.9877 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.8844, allocations: 19.98 kB / 0.9877 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.8845, allocations: 0 / 0.9877 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.8845, allocations: 4 kB / 0.9877 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8845, allocations: 0 / 0.9877 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8845, allocations: 0 / 0.9877 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.8847, allocations: 175.4 kB / 0.9879 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.8848, allocations: 85.09 kB / 0.988 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.8848, allocations: 4 kB / 0.988 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.8849, allocations: 8 kB / 0.988 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.8849, allocations: 3.984 kB / 0.988 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.885, allocations: 4 kB / 0.988 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.885, allocations: 79.66 kB / 0.9881 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.885, allocations: 0 / 0.9881 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002393/0.8853, allocations: 12 kB / 0.9881 GB, free: 14.34 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005077/0.8858, allocations: 0.7203 MB / 0.9888 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.8859, allocations: 43.95 kB / 0.9888 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8859, allocations: 0 / 0.9888 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.95e-05/0.886, allocations: 19.92 kB / 0.9889 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.8862, allocations: 4.391 kB / 0.9889 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.8876, allocations: 1.423 MB / 0.9903 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.8879, allocations: 0.6926 MB / 0.9909 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.604e-05/0.888, allocations: 8 kB / 0.9909 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.888, allocations: 15.5 kB / 0.991 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.888, allocations: 0 / 0.991 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.9016, allocations: 1.397 MB / 0.9923 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.9019, allocations: 181.5 kB / 0.9925 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.575, allocations: 4 kB / 0.9925 GB, free: 9.773 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_WaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat does not exist to compare? outputFormat=mat