Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.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.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.521/2.521, allocations: 393.5 MB / 408.4 MB, free: 11.08 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.001091/0.001091, allocations: 175.9 kB / 0.4901 GB, free: 2.227 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.743/1.743, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001043/0.001043, allocations: 98.94 kB / 0.9396 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003694, allocations: 10.41 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2931, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.4867, allocations: 152 MB / 1.378 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.4871, allocations: 83.89 kB / 1.378 GB, free: 1.301 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.009771/0.4969, allocations: 3.043 MB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4969, allocations: 0 / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.4969, allocations: 0 / 1.381 GB, free: 14.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006505/0.4976, allocations: 436.7 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4976, allocations: 8.031 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.045e-05/0.4977, allocations: 30.56 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.4977, allocations: 7.953 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.4979, allocations: 178.8 kB / 1.381 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.4979, allocations: 11.98 kB / 1.381 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.498, allocations: 4 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.4982, allocations: 69.66 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4982, allocations: 3.938 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4982, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4982, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.4984, allocations: 47.97 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.499, allocations: 312.8 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4991, allocations: 50.56 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.4992, allocations: 0 / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.4994, allocations: 87.5 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.4994, allocations: 4 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.000434/0.4998, allocations: 145.5 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.4999, allocations: 59.39 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.5001, allocations: 113 kB / 1.382 GB, free: 12.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.5001, allocations: 25.7 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.5002, allocations: 92.23 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.5002, allocations: 15.8 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.5002, allocations: 7.938 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5004, allocations: 314.8 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.5005, allocations: 27.98 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.5006, allocations: 54.55 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.5008, allocations: 35.97 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5008, allocations: 0 / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002909/0.5011, allocations: 117.6 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5011, allocations: 13.97 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5011, allocations: 0 / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.5011, allocations: 0 / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.5013, allocations: 19.92 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5013, allocations: 8.281 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.5014, allocations: 15.91 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.5014, allocations: 12 kB / 1.383 GB, free: 11.73 MB / 0.8855 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 () * Number of clocked 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 0.0001152/0.5015, allocations: 114.6 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.5016, allocations: 7.984 kB / 1.383 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.5016, allocations: 16.36 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5016, allocations: 0 / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5016, allocations: 0 / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.5016, allocations: 3.953 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.5022, allocations: 390.4 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5022, allocations: 0 / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.5022, allocations: 8 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5023, allocations: 0 / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5023, allocations: 3.984 kB / 1.384 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.5023, allocations: 3.953 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5023, allocations: 0 / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.5026, allocations: 211.5 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.5027, allocations: 85.02 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.5027, allocations: 3.984 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.5028, allocations: 4 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.5029, allocations: 23.88 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.503, allocations: 0 / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.687e-05/0.503, allocations: 91.27 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.503, allocations: 0 / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003695/0.5034, allocations: 51.94 kB / 1.384 GB, free: 10.63 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked 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.001048/0.5045, allocations: 0.817 MB / 1.385 GB, free: 9.797 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002726/0.5048, allocations: 83.95 kB / 1.385 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5048, allocations: 0 / 1.385 GB, free: 9.715 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.5049, allocations: 39.92 kB / 1.385 GB, free: 9.676 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.5051, allocations: 11.89 kB / 1.385 GB, free: 9.664 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.506, allocations: 0.7343 MB / 1.386 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.5064, allocations: 0.6936 MB / 1.386 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.5064, allocations: 4.734 kB / 1.386 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.5065, allocations: 19.42 kB / 1.386 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/0.5065, allocations: 0 / 1.386 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.5231, allocations: 2.508 MB / 1.389 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/0.5234, allocations: 241.2 kB / 1.389 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.146, allocations: 0 / 1.389 GB, free: 5.555 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingEU.fmu > Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingEU_res.mat does not exist to compare? outputFormat=mat