Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.128/2.128, allocations: 390.3 MB / 405.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001022, allocations: 185 kB / 498.1 MB, free: 5.613 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 0.7948 GB, free: 17.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008793, allocations: 100.3 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 8.594 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2957, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.4819, allocations: 151.3 MB / 1.371 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4822, allocations: 83.94 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01112/0.4934, allocations: 3.492 MB / 1.374 GB, free: 7.121 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4934, allocations: 4 kB / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.4934, allocations: 0 / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007164/0.4941, allocations: 495.3 kB / 1.375 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4942, allocations: 8.031 kB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.719e-05/0.4943, allocations: 42.39 kB / 1.375 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.4943, allocations: 15.89 kB / 1.375 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.4945, allocations: 171 kB / 1.375 GB, free: 6.293 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.4945, allocations: 8 kB / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.4945, allocations: 8 kB / 1.375 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.4948, allocations: 81.64 kB / 1.375 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4948, allocations: 3.938 kB / 1.375 GB, free: 6.188 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4948, allocations: 4 kB / 1.375 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4948, allocations: 7.953 kB / 1.375 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.495, allocations: 55.95 kB / 1.375 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.4956, allocations: 324.7 kB / 1.375 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002356/0.4959, allocations: 94.55 kB / 1.375 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.4959, allocations: 8 kB / 1.375 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.4961, allocations: 99.31 kB / 1.376 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.4961, allocations: 0 / 1.376 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0005909/0.4967, allocations: 197.5 kB / 1.376 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.4968, allocations: 59.34 kB / 1.376 GB, free: 5.266 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4969, allocations: 132.3 kB / 1.376 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.4969, allocations: 25.7 kB / 1.376 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.497, allocations: 96.08 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.497, allocations: 23.94 kB / 1.376 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.4971, allocations: 0 / 1.376 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4972, allocations: 318.8 kB / 1.376 GB, free: 4.656 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.4973, allocations: 31.98 kB / 1.376 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.4974, allocations: 70 kB / 1.376 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.622e-05/0.4975, allocations: 35.98 kB / 1.377 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4975, allocations: 0 / 1.377 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002672/0.4978, allocations: 137.5 kB / 1.377 GB, free: 4.359 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.4978, allocations: 7.953 kB / 1.377 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4978, allocations: 3.984 kB / 1.377 GB, free: 4.348 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4979, allocations: 4 kB / 1.377 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.4979, allocations: 12 kB / 1.377 GB, free: 4.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.498, allocations: 3.938 kB / 1.377 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.498, allocations: 15.89 kB / 1.377 GB, free: 4.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.4981, allocations: 8 kB / 1.377 GB, free: 4.305 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.ac.curSeed,ac.curSeed,$PRE.ac.pOff,ac.pOff,$PRE.ac.pOn,ac.pOn,$PRE.ac.on,ac.on,ac.occ,$whenCondition1,ac.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001199/0.4982, allocations: 124.6 kB / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.4982, allocations: 11.84 kB / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.4983, allocations: 16.66 kB / 1.377 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4983, allocations: 0 / 1.377 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4983, allocations: 4 kB / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4983, allocations: 0 / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006049/0.4989, allocations: 442.4 kB / 1.377 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4989, allocations: 0 / 1.377 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.499, allocations: 15.94 kB / 1.377 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.499, allocations: 0 / 1.377 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.499, allocations: 0 / 1.377 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.499, allocations: 4 kB / 1.377 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.499, allocations: 0 / 1.377 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.4994, allocations: 259.3 kB / 1.378 GB, free: 3.367 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.4995, allocations: 81.06 kB / 1.378 GB, free: 3.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.4995, allocations: 7.938 kB / 1.378 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.4996, allocations: 15.98 kB / 1.378 GB, free: 3.246 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.4997, allocations: 11.98 kB / 1.378 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4997, allocations: 7.938 kB / 1.378 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.4998, allocations: 95.27 kB / 1.378 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4998, allocations: 0 / 1.378 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003813/0.5002, allocations: 59.98 kB / 1.378 GB, free: 3.074 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,ac.occ,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001004/0.5012, allocations: 0.8834 MB / 1.379 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.5014, allocations: 92.38 kB / 1.379 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5015, allocations: 0 / 1.379 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.5016, allocations: 52.36 kB / 1.379 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.5018, allocations: 15.94 kB / 1.379 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.503, allocations: 1.394 MB / 1.38 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5034, allocations: 0.6965 MB / 1.381 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.5034, allocations: 11.98 kB / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.5035, allocations: 15.44 kB / 1.381 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/0.5035, allocations: 4 kB / 1.381 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.5191, allocations: 3.023 MB / 1.384 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.5194, allocations: 256.1 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.565/2.084, allocations: 2.031 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat does not exist to compare? outputFormat=mat