Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.36/2.36, allocations: 390.3 MB / 402.8 MB, free: 6.672 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.001565/0.001565, allocations: 180.9 kB / 496.1 MB, free: 12.86 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.65/1.65, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001196/0.001196, allocations: 91.94 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.577e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.289, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8585/1.148, allocations: 152.1 MB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/1.148, allocations: 84 kB / 1.367 GB, free: 1.926 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.01028/1.158, allocations: 3.471 MB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.158, allocations: 4 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.158, allocations: 4 kB / 1.371 GB, free: 14.94 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.0005642/1.159, allocations: 469.8 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.159, allocations: 8.031 kB / 1.371 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/1.159, allocations: 42.39 kB / 1.371 GB, free: 14.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/1.159, allocations: 11.91 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/1.159, allocations: 178.8 kB / 1.372 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/1.159, allocations: 7.984 kB / 1.372 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/1.159, allocations: 7.875 kB / 1.372 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/1.159, allocations: 70.91 kB / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.159, allocations: 0 / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/1.159, allocations: 0 / 1.372 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/1.159, allocations: 7.953 kB / 1.372 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/1.159, allocations: 36.81 kB / 1.372 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/1.16, allocations: 321.6 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/1.16, allocations: 67.94 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/1.16, allocations: 34.11 kB / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/1.16, allocations: 0 / 1.372 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/1.16, allocations: 89.98 kB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/1.16, allocations: 0 / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002781/1.161, allocations: 125 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.161, allocations: 55.41 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/1.161, allocations: 120.2 kB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/1.161, allocations: 32.64 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/1.161, allocations: 97.53 kB / 1.373 GB, free: 13.12 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/1.161, allocations: 15.81 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/1.161, allocations: 3.188 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.161, allocations: 322 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/1.161, allocations: 17.81 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/1.161, allocations: 67.25 kB / 1.373 GB, free: 12.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/1.161, allocations: 22.94 kB / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.161, allocations: 0 / 1.373 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001637/1.161, allocations: 115.7 kB / 1.373 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.161, allocations: 9.703 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.161, allocations: 12 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/1.161, allocations: 0 / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.507e-05/1.162, allocations: 15.94 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.162, allocations: 8.062 kB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/1.162, allocations: 7.812 kB / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/1.162, allocations: 7.984 kB / 1.373 GB, free: 12.52 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 7.551e-05/1.162, allocations: 121.2 kB / 1.373 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/1.162, allocations: 11.94 kB / 1.373 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/1.162, allocations: 19.12 kB / 1.373 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.162, allocations: 0 / 1.373 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/1.162, allocations: 0 / 1.373 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.162, allocations: 0 / 1.373 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/1.162, allocations: 401.5 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.162, allocations: 3.953 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/1.162, allocations: 11.92 kB / 1.374 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/1.162, allocations: 8 kB / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/1.162, allocations: 0 / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/1.162, allocations: 0 / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/1.162, allocations: 0 / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/1.163, allocations: 224 kB / 1.374 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/1.163, allocations: 88.95 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/1.163, allocations: 11.19 kB / 1.374 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/1.163, allocations: 12 kB / 1.374 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/1.163, allocations: 3.984 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/1.163, allocations: 4 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.211e-05/1.163, allocations: 99.47 kB / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.163, allocations: 0 / 1.374 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002843/1.163, allocations: 71.73 kB / 1.374 GB, free: 11.45 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.0007078/1.164, allocations: 0.8437 MB / 1.375 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001481/1.164, allocations: 69.38 kB / 1.375 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.164, allocations: 0 / 1.375 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/1.164, allocations: 34.8 kB / 1.375 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/1.164, allocations: 12.92 kB / 1.375 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/1.165, allocations: 184.3 kB / 1.375 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/1.165, allocations: 0.694 MB / 1.376 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.851e-05/1.165, allocations: 11.77 kB / 1.376 GB, free: 9.625 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/1.165, allocations: 25.69 kB / 1.376 GB, free: 9.609 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.165, allocations: 4 kB / 1.376 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/1.179, allocations: 3.047 MB / 1.379 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/1.18, allocations: 222 kB / 1.379 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.738, allocations: 2.25 kB / 1.379 GB, free: 6.516 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_AirConditioning_Validation_Ren2014ACLivingroom.fmu > Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom_res.mat does not exist to compare? outputFormat=mat