Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_9_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.001228/0.001228, allocations: 99.55 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.001469/0.001469, allocations: 177.3 kB / 15.94 MB, free: 228 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.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.501/2.501, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003562, allocations: 12 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/0.7772, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002098/0.7794, allocations: 1.023 MB / 0.9546 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1756/0.955, allocations: 125.2 MB / 1.077 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.9552, allocations: 0 / 1.077 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.441e-05/0.9552, allocations: 3.938 kB / 1.077 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.9553, allocations: 15.95 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009548/0.9563, allocations: 231.3 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.399e-05/0.9564, allocations: 51.86 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.167e-05/0.9564, allocations: 0 / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.9565, allocations: 23.98 kB / 1.077 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.9566, allocations: 31.89 kB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.9566, allocations: 3.938 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007187/0.9573, allocations: 287.5 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.9574, allocations: 19.92 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.9574, allocations: 29.7 kB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.9576, allocations: 102.1 kB / 1.078 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.9577, allocations: 0 / 1.078 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.936e-06/0.9577, allocations: 0 / 1.078 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.9577, allocations: 0 / 1.078 GB, free: 0.8477 MB / 0.8262 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.0004476/0.9581, allocations: 379.1 kB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.9582, allocations: 12.03 kB / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.9582, allocations: 34.56 kB / 1.078 GB, free: 384 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.9587, allocations: 39.86 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.9588, allocations: 163 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.9588, allocations: 8 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.9588, allocations: 11.98 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.9591, allocations: 73.64 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.9591, allocations: 7.891 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.9591, allocations: 8 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9591, allocations: 4 kB / 1.078 GB, free: 20 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.9593, allocations: 43.95 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002437/0.9595, allocations: 185.5 kB / 1.079 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.9597, allocations: 102.6 kB / 1.079 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.9598, allocations: 8 kB / 1.079 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.9598, allocations: 38.55 kB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.9598, allocations: 0 / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19): time 0.001351/0.9611, allocations: 0.5389 MB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.9612, allocations: 55.41 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.9613, allocations: 101.8 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.9613, allocations: 29.7 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.9614, allocations: 80.52 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.9614, allocations: 71 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.9614, allocations: 8 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.9616, allocations: 314.8 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.9616, allocations: 35.98 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.004e-05/0.9617, allocations: 69.36 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.9618, allocations: 47.98 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9618, allocations: 0 / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002273/0.962, allocations: 161.4 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9621, allocations: 9.406 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.9621, allocations: 0 / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.9621, allocations: 3.953 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.9623, allocations: 39.92 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.9623, allocations: 4 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.9624, allocations: 8 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.9624, allocations: 8 kB / 1.08 GB, free: 13.91 MB / 0.8419 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.0001029/0.9625, allocations: 117.8 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.9625, allocations: 4 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.9626, allocations: 16.44 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.9626, allocations: 11.92 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9626, allocations: 3.953 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.9626, allocations: 0 / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.9628, allocations: 197.6 kB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.9628, allocations: 0 / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.963, allocations: 35.98 kB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.963, allocations: 0 / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.963, allocations: 4 kB / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.963, allocations: 0 / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.963, allocations: 7.953 kB / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.9634, allocations: 217.7 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.9635, allocations: 97.06 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.9635, allocations: 4 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.9636, allocations: 8 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.9637, allocations: 11.94 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.9637, allocations: 11.98 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.9637, allocations: 79.28 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9637, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002301/0.964, allocations: 24 kB / 1.081 GB, free: 12.98 MB / 0.8419 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.0005818/0.9646, allocations: 0.7515 MB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.9648, allocations: 104.2 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.9648, allocations: 0 / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.9649, allocations: 51.92 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.9651, allocations: 18.09 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.9666, allocations: 1.449 MB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.9669, allocations: 0.7011 MB / 1.084 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001409/0.967, allocations: 32.61 kB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.732e-05/0.9671, allocations: 23.44 kB / 1.084 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.9671, allocations: 0 / 1.084 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.9809, allocations: 2.1 MB / 1.086 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.9811, allocations: 176.8 kB / 1.086 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/2.73, allocations: 3.938 kB / 1.086 GB, free: 7.504 MB / 0.8419 GB (rm -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat does not exist to compare? outputFormat=mat