Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",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.456/2.456, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001524/0.001524, allocations: 172.9 kB / 492.3 MB, free: 0.6367 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.679/1.679, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.001314/0.001314, allocations: 103.1 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.8e-05/4.803e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3851, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.477, allocations: 151.2 MB / 1.36 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/1.477, allocations: 78.09 kB / 1.36 GB, free: 19.03 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.00892/1.486, allocations: 3.017 MB / 1.363 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.969e-06/1.486, allocations: 3.812 kB / 1.363 GB, free: 34.58 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.295e-06/1.486, allocations: 3.938 kB / 1.363 GB, free: 34.58 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000482/1.487, allocations: 419.7 kB / 1.364 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.487, allocations: 7.719 kB / 1.364 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/1.487, allocations: 38.47 kB / 1.364 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.709e-05/1.487, allocations: 7.812 kB / 1.364 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/1.487, allocations: 168.4 kB / 1.364 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/1.487, allocations: 7.438 kB / 1.364 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/1.487, allocations: 3.906 kB / 1.364 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/1.487, allocations: 63.05 kB / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.487, allocations: 7.922 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/1.487, allocations: 5.594 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/1.487, allocations: 0 / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.779e-05/1.487, allocations: 21.75 kB / 1.364 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/1.488, allocations: 322 kB / 1.364 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/1.488, allocations: 45.78 kB / 1.364 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/1.488, allocations: 23.86 kB / 1.364 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/1.488, allocations: 0 / 1.364 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/1.488, allocations: 77.67 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/1.488, allocations: 0 / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002351/1.489, allocations: 98.25 kB / 1.364 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/1.489, allocations: 52.72 kB / 1.364 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.44e-05/1.489, allocations: 118.2 kB / 1.365 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/1.489, allocations: 29.39 kB / 1.365 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/1.489, allocations: 92.91 kB / 1.365 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/1.489, allocations: 16.22 kB / 1.365 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.602e-06/1.489, allocations: 11.75 kB / 1.365 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/1.489, allocations: 317.4 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/1.489, allocations: 17.88 kB / 1.365 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/1.489, allocations: 43.16 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/1.489, allocations: 20.31 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.489, allocations: 0 / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001474/1.489, allocations: 105.1 kB / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.489, allocations: 3.812 kB / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.489, allocations: 3.844 kB / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.489, allocations: 0 / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/1.489, allocations: 14.58 kB / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.489, allocations: 11.73 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/1.49, allocations: 6.688 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/1.49, allocations: 4.031 kB / 1.365 GB, free: 32.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,$PRE.hea.on,hea.on,$PRE.hea.p,hea.p,$PRE.hea.curSeed,hea.curSeed,$whenCondition1,hea.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.859e-05/1.49, allocations: 114.2 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/1.49, allocations: 9.469 kB / 1.365 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/1.49, allocations: 8.438 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.49, allocations: 0.875 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.49, allocations: 0 / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.49, allocations: 5.594 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/1.49, allocations: 368.2 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.49, allocations: 0 / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/1.49, allocations: 12.34 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.49, allocations: 0.8125 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.49, allocations: 0.7969 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.49, allocations: 4.938 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.49, allocations: 3.812 kB / 1.366 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/1.49, allocations: 199.8 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/1.49, allocations: 77.11 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/1.49, allocations: 9.594 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.923e-05/1.491, allocations: 8.953 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/1.491, allocations: 6.812 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/1.491, allocations: 8.906 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.746e-05/1.491, allocations: 89.62 kB / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.491, allocations: 0 / 1.366 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003036/1.491, allocations: 55.55 kB / 1.366 GB, free: 32.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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006896/1.492, allocations: 0.8013 MB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001371/1.492, allocations: 53.38 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.492, allocations: 3.938 kB / 1.367 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.44e-05/1.492, allocations: 27.84 kB / 1.367 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/1.492, allocations: 15.42 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/1.493, allocations: 159 kB / 1.367 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/1.493, allocations: 0.6901 MB / 1.368 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.935e-05/1.493, allocations: 9.594 kB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/1.493, allocations: 19.48 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.493, allocations: 4 kB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/1.507, allocations: 2.507 MB / 1.37 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/1.507, allocations: 209.3 kB / 1.371 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/3.264, allocations: 0 / 1.371 GB, free: 30.04 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat does not exist to compare? outputFormat=mat