Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.252/2.252, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001104/0.001103, allocations: 176 kB / 0.4901 GB, free: 2.336 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.58/1.58, allocations: 223.1 MB / 0.7992 GB, free: 14.82 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.001143/0.001143, allocations: 110.8 kB / 0.9396 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 7 kB / 1.09 GB, free: 216.7 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3066, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/0.5008, allocations: 152.1 MB / 1.378 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5011, allocations: 83.95 kB / 1.378 GB, free: 1.477 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.01079/0.5119, allocations: 3.496 MB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5119, allocations: 3.938 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.512, allocations: 4 kB / 1.381 GB, free: 13.96 MB / 0.8855 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.000649/0.5126, allocations: 490.3 kB / 1.382 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5127, allocations: 8.031 kB / 1.382 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.5127, allocations: 42.5 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.5128, allocations: 7.906 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.5129, allocations: 177.9 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.5129, allocations: 4 kB / 1.382 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.513, allocations: 8 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.5132, allocations: 93.56 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.5132, allocations: 3.984 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5132, allocations: 0 / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5132, allocations: 7.953 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.5134, allocations: 55.97 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.514, allocations: 332.7 kB / 1.383 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.5142, allocations: 82.55 kB / 1.383 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.5143, allocations: 7.984 kB / 1.383 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.5145, allocations: 99.31 kB / 1.383 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.5145, allocations: 0 / 1.383 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.515, allocations: 201.5 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.5151, allocations: 55.41 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.5152, allocations: 121.2 kB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.5152, allocations: 33.69 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.5153, allocations: 92.28 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.5153, allocations: 15.75 kB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.5154, allocations: 8 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5155, allocations: 318.8 kB / 1.384 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-05/0.5156, allocations: 27.98 kB / 1.384 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.5157, allocations: 77.98 kB / 1.384 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.962e-05/0.5158, allocations: 39.92 kB / 1.384 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5158, allocations: 0 / 1.384 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002472/0.5161, allocations: 129.6 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5161, allocations: 15.89 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5161, allocations: 0 / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.5161, allocations: 4 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.5162, allocations: 23.92 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5162, allocations: 3.938 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/0.5163, allocations: 12 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.5163, allocations: 4 kB / 1.384 GB, free: 11.15 MB / 0.8855 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.0001119/0.5164, allocations: 126.7 kB / 1.384 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.5165, allocations: 7.906 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.934e-05/0.5165, allocations: 12.67 kB / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.5165, allocations: 0 / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5165, allocations: 0 / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5165, allocations: 0 / 1.384 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.5171, allocations: 450.3 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5171, allocations: 0 / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.018e-05/0.5171, allocations: 7.953 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.5172, allocations: 0 / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.5172, allocations: 7.984 kB / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5172, allocations: 0 / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5172, allocations: 4 kB / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.5176, allocations: 251.3 kB / 1.385 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.5176, allocations: 85.02 kB / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.5177, allocations: 3.953 kB / 1.385 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.5178, allocations: 19.98 kB / 1.385 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.5178, allocations: 4 kB / 1.385 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.5179, allocations: 7.984 kB / 1.385 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.386e-05/0.5179, allocations: 101.5 kB / 1.385 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5179, allocations: 0 / 1.385 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003162/0.5182, allocations: 63.86 kB / 1.385 GB, free: 9.93 MB / 0.8855 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.0009759/0.5192, allocations: 0.8849 MB / 1.386 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.5195, allocations: 95.89 kB / 1.386 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5195, allocations: 0 / 1.386 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.5197, allocations: 60.27 kB / 1.386 GB, free: 8.879 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.5199, allocations: 16.8 kB / 1.386 GB, free: 8.863 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.521, allocations: 1.382 MB / 1.387 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.5212, allocations: 0.6926 MB / 1.388 GB, free: 6.691 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.75e-05/0.5213, allocations: 8 kB / 1.388 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.5213, allocations: 23.42 kB / 1.388 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.5213, allocations: 0 / 1.388 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.5367, allocations: 3.043 MB / 1.391 GB, free: 3.805 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/0.537, allocations: 252.6 kB / 1.391 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/2.166, allocations: 0 / 1.391 GB, free: 3.469 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat does not exist to compare? outputFormat=mat