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.275/2.275, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001152/0.001152, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.716/1.716, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.0009336/0.0009337, allocations: 99.12 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.075e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2487, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8223/1.071, allocations: 152.1 MB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/1.071, allocations: 77.52 kB / 1.367 GB, free: 1.914 MB / 0.823 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.01007/1.081, allocations: 3.474 MB / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.815e-06/1.081, allocations: 0 / 1.371 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.408e-06/1.081, allocations: 7.938 kB / 1.371 GB, free: 14.93 MB / 0.8386 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.0005816/1.082, allocations: 474.1 kB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.082, allocations: 8.031 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/1.082, allocations: 41.95 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/1.082, allocations: 15.83 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/1.082, allocations: 170.9 kB / 1.372 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/1.082, allocations: 4 kB / 1.372 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/1.082, allocations: 7.75 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/1.083, allocations: 76.66 kB / 1.372 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/1.083, allocations: 0 / 1.372 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/1.083, allocations: 0 / 1.372 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.083, allocations: 7.953 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.154e-05/1.083, allocations: 27 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/1.083, allocations: 336.2 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/1.083, allocations: 64.48 kB / 1.372 GB, free: 13.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/1.083, allocations: 32.11 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/1.083, allocations: 0 / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/1.084, allocations: 85.89 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.825e-06/1.084, allocations: 96 / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002688/1.084, allocations: 130.6 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/1.084, allocations: 59.39 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/1.084, allocations: 121.5 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/1.084, allocations: 33.64 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/1.084, allocations: 95.19 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/1.084, allocations: 19.17 kB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/1.084, allocations: 0 / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.084, allocations: 318.4 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.767e-05/1.084, allocations: 26.73 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/1.084, allocations: 57.08 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.374e-05/1.084, allocations: 34.78 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.084, allocations: 0 / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001605/1.085, allocations: 114.6 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.085, allocations: 7.953 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.085, allocations: 4 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/1.085, allocations: 0.875 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/1.085, allocations: 20.11 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.085, allocations: 8 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/1.085, allocations: 4 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/1.085, allocations: 7.312 kB / 1.373 GB, free: 12.51 MB / 0.8386 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 () * 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 8.381e-05/1.085, allocations: 122.2 kB / 1.373 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/1.085, allocations: 11.78 kB / 1.373 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/1.085, allocations: 16.2 kB / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/1.085, allocations: 0 / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.085, allocations: 8 kB / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.085, allocations: 0 / 1.373 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/1.086, allocations: 402.6 kB / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/1.086, allocations: 3.953 kB / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/1.086, allocations: 4 kB / 1.374 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.086, allocations: 4 kB / 1.374 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.086, allocations: 3.984 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.086, allocations: 3.938 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/1.086, allocations: 0 / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/1.086, allocations: 226.9 kB / 1.374 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.002e-05/1.086, allocations: 84.97 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/1.086, allocations: 4 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/1.086, allocations: 11.98 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/1.086, allocations: 0 / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/1.086, allocations: 11.48 kB / 1.374 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.984e-05/1.086, allocations: 94.47 kB / 1.374 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.086, allocations: 0 / 1.374 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003047/1.086, allocations: 75.11 kB / 1.374 GB, free: 11.44 MB / 0.8386 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) * 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.0007866/1.087, allocations: 0.8437 MB / 1.375 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001728/1.087, allocations: 69.23 kB / 1.375 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.087, allocations: 0 / 1.375 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/1.088, allocations: 44.84 kB / 1.375 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/1.088, allocations: 12.28 kB / 1.375 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/1.088, allocations: 175.3 kB / 1.375 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/1.088, allocations: 0.7004 MB / 1.376 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.77e-05/1.089, allocations: 7.781 kB / 1.376 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/1.089, allocations: 26.8 kB / 1.376 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.089, allocations: 0 / 1.376 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/1.103, allocations: 3.044 MB / 1.379 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.103, allocations: 217.7 kB / 1.379 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.586, allocations: 3 kB / 1.379 GB, free: 6.504 MB / 0.8386 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