Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Ren2014ACBedroom,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001179/0.001179, allocations: 180.9 kB / 487.4 MB, free: 5.059 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.542/1.542, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 95.86 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.819e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2694, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8795/1.149, allocations: 150.6 MB / 1.353 GB, free: 18.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.149, allocations: 84.42 kB / 1.353 GB, free: 18.09 MB / 0.823 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.01459/1.164, allocations: 3.46 MB / 1.357 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.716e-06/1.164, allocations: 0 / 1.357 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.164, allocations: 3.844 kB / 1.357 GB, free: 33.61 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.0008594/1.165, allocations: 466 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.165, allocations: 11.78 kB / 1.357 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.794e-05/1.165, allocations: 12.31 kB / 1.357 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/1.165, allocations: 183.3 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/1.165, allocations: 4.547 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/1.165, allocations: 4.5 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001401/1.165, allocations: 28.84 kB / 1.357 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/1.166, allocations: 72.52 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.166, allocations: 0 / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/1.166, allocations: 0.7969 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/1.166, allocations: 3.953 kB / 1.357 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/1.166, allocations: 302.8 kB / 1.358 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/1.167, allocations: 61.12 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.94e-05/1.167, allocations: 34.19 kB / 1.358 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/1.167, allocations: 4.031 kB / 1.358 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/1.167, allocations: 81.44 kB / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.414e-06/1.167, allocations: 0 / 1.358 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0005739/1.167, allocations: 140.6 kB / 1.358 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/1.167, allocations: 55.25 kB / 1.358 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/1.168, allocations: 121.1 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/1.168, allocations: 28.19 kB / 1.358 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/1.168, allocations: 97.98 kB / 1.358 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/1.168, allocations: 14.19 kB / 1.358 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/1.168, allocations: 7.5 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.168, allocations: 317 kB / 1.359 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/1.168, allocations: 14.62 kB / 1.359 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/1.168, allocations: 62.45 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.737e-05/1.168, allocations: 26.58 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.168, allocations: 0 / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002085/1.168, allocations: 98.64 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.168, allocations: 3.812 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.168, allocations: 3.906 kB / 1.359 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.168, allocations: 8.156 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/1.169, allocations: 10.05 kB / 1.359 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/1.169, allocations: 11.67 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.654e-05/1.169, allocations: 8.781 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/1.169, allocations: 6.453 kB / 1.359 GB, free: 31.82 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 0.0001175/1.169, allocations: 111.6 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000462/1.169, allocations: 139.9 kB / 1.359 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/1.169, allocations: 15.72 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.275e-05/1.169, allocations: 14.33 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.169, allocations: 0 / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.169, allocations: 0 / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.169, allocations: 3.875 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/1.17, allocations: 388 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.17, allocations: 4 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/1.17, allocations: 3.844 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/1.17, allocations: 3.953 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/1.17, allocations: 7.188 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.17, allocations: 7.781 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.17, allocations: 0 / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/1.171, allocations: 224.9 kB / 1.36 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/1.171, allocations: 84.23 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/1.171, allocations: 7.734 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/1.171, allocations: 14.66 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/1.171, allocations: 10.22 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/1.171, allocations: 0 / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.599e-05/1.171, allocations: 96.06 kB / 1.36 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.171, allocations: 0 / 1.36 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005995/1.172, allocations: 72.81 kB / 1.36 GB, free: 31.04 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.001196/1.173, allocations: 0.8444 MB / 1.361 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002004/1.173, allocations: 56.02 kB / 1.361 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.173, allocations: 0 / 1.361 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.728e-05/1.173, allocations: 47.33 kB / 1.361 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/1.174, allocations: 21.11 kB / 1.361 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/1.174, allocations: 175.8 kB / 1.361 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.175, allocations: 0.6935 MB / 1.362 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.1e-05/1.175, allocations: 10.8 kB / 1.362 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/1.175, allocations: 17.69 kB / 1.362 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of SimCode: time 4e-07/1.175, allocations: 11.75 kB / 1.362 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/1.201, allocations: 2.698 MB / 1.364 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/1.201, allocations: 198.5 kB / 1.365 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.774, allocations: 0 / 1.365 GB, free: 29.08 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACBedroom.fmu > Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom_res.mat does not exist to compare? outputFormat=mat