Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck",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.0009814/0.0009811, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001084/0.001084, allocations: 172.7 kB / 15.95 MB, free: 208 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.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.645/2.645, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 8 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7986/0.799, allocations: 146.8 MB / 0.9811 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001452/0.8005, allocations: 1.027 MB / 0.9821 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.9727, allocations: 134.5 MB / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.9728, allocations: 0 / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.9729, allocations: 3.938 kB / 1.113 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.973, allocations: 19.84 kB / 1.113 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.9741, allocations: 227 kB / 1.114 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.9742, allocations: 67.81 kB / 1.114 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.9743, allocations: 4 kB / 1.114 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 5.397e-05/0.9744, allocations: 31.91 kB / 1.114 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.9745, allocations: 31.89 kB / 1.114 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.9745, allocations: 4 kB / 1.114 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007783/0.9753, allocations: 255.3 kB / 1.114 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.9754, allocations: 15.98 kB / 1.114 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.9754, allocations: 41.64 kB / 1.114 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.9757, allocations: 102.1 kB / 1.114 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9757, allocations: 0 / 1.114 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9757, allocations: 4 kB / 1.114 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.9757, allocations: 0 / 1.114 GB, free: 13.53 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004743/0.9762, allocations: 367.1 kB / 1.115 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.9763, allocations: 12.03 kB / 1.115 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.9763, allocations: 34.56 kB / 1.115 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.9768, allocations: 43.86 kB / 1.115 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.9769, allocations: 163.1 kB / 1.115 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.9769, allocations: 7.953 kB / 1.115 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.977, allocations: 8 kB / 1.115 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.9772, allocations: 81.58 kB / 1.115 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.9772, allocations: 0 / 1.115 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.9772, allocations: 4 kB / 1.115 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.9772, allocations: 0 / 1.115 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.821e-05/0.9773, allocations: 43.95 kB / 1.115 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.9776, allocations: 193.5 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.9778, allocations: 98.61 kB / 1.115 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.9778, allocations: 36.8 kB / 1.115 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.9781, allocations: 174.2 kB / 1.115 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.9782, allocations: 42.55 kB / 1.115 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.9782, allocations: 0 / 1.115 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19): time 0.001345/0.9795, allocations: 0.5381 MB / 1.116 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.9796, allocations: 55.41 kB / 1.116 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.9797, allocations: 101.8 kB / 1.116 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.9797, allocations: 33.64 kB / 1.116 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.9797, allocations: 80.52 kB / 1.116 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.9798, allocations: 63.02 kB / 1.116 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-06/0.9798, allocations: 8 kB / 1.116 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.9799, allocations: 318.8 kB / 1.117 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.98, allocations: 35.84 kB / 1.117 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.9801, allocations: 76.14 kB / 1.117 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.312e-05/0.9802, allocations: 43.98 kB / 1.117 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.9802, allocations: 0 / 1.117 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002354/0.9804, allocations: 165.4 kB / 1.117 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.9804, allocations: 4 kB / 1.117 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.9805, allocations: 0 / 1.117 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9805, allocations: 4 kB / 1.117 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.9807, allocations: 39.98 kB / 1.117 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.9807, allocations: 12.08 kB / 1.117 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.025e-05/0.9807, allocations: 0 / 1.117 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.9808, allocations: 12 kB / 1.117 GB, free: 10.36 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001024/0.9809, allocations: 113.8 kB / 1.117 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.9809, allocations: 15.86 kB / 1.117 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.9809, allocations: 12.44 kB / 1.117 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.981, allocations: 7.984 kB / 1.117 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.981, allocations: 0 / 1.117 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.981, allocations: 0 / 1.117 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.9812, allocations: 197.6 kB / 1.117 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.9812, allocations: 0 / 1.117 GB, free: 9.961 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.9814, allocations: 43.86 kB / 1.117 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.9814, allocations: 3.953 kB / 1.117 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.9814, allocations: 4 kB / 1.117 GB, free: 9.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.9814, allocations: 4 kB / 1.117 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.9814, allocations: 0 / 1.117 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.9817, allocations: 206.4 kB / 1.118 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.579e-05/0.9818, allocations: 97 kB / 1.118 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.9819, allocations: 8.016 kB / 1.118 GB, free: 9.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.982, allocations: 4 kB / 1.118 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.982, allocations: 19.97 kB / 1.118 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.982, allocations: 7.984 kB / 1.118 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.9821, allocations: 75.28 kB / 1.118 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9821, allocations: 0 / 1.118 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002339/0.9823, allocations: 32 kB / 1.118 GB, free: 9.43 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,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 (19): * Single equations (assignments): 19 * 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.0006035/0.9829, allocations: 0.7442 MB / 1.119 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.9832, allocations: 105.6 kB / 1.119 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9832, allocations: 0 / 1.119 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.572e-05/0.9833, allocations: 55.92 kB / 1.119 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.9835, allocations: 15.98 kB / 1.119 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.9849, allocations: 1.005 MB / 1.12 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.9852, allocations: 0.7011 MB / 1.12 GB, free: 6.699 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.9854, allocations: 24.62 kB / 1.12 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.9854, allocations: 31.36 kB / 1.12 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.9854, allocations: 0 / 1.12 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/1.001, allocations: 2.121 MB / 1.123 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/1.001, allocations: 177.5 kB / 1.123 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.775, allocations: 4.094 kB / 1.123 GB, free: 4.414 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat does not exist to compare? outputFormat=mat