Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.399/2.399, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001314/0.001314, allocations: 179.3 kB / 0.4901 GB, free: 2.211 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.615/1.615, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.00104/0.00104, allocations: 102.2 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003696, allocations: 6.844 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3028, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.5052, allocations: 152 MB / 1.378 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.5056, allocations: 79.95 kB / 1.378 GB, free: 1.32 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.009854/0.5154, allocations: 3.035 MB / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5155, allocations: 0 / 1.381 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.5155, allocations: 0 / 1.381 GB, free: 14.28 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.0006602/0.5162, allocations: 424.7 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.5162, allocations: 12.56 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/0.5163, allocations: 38.56 kB / 1.381 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.5163, allocations: 7.953 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.5165, allocations: 174.9 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.5166, allocations: 0 / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.5166, allocations: 8 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.5168, allocations: 73.59 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.5168, allocations: 0 / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5168, allocations: 4 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.435e-06/0.5169, allocations: 4 kB / 1.381 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.517, allocations: 43.91 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/0.5177, allocations: 320.8 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.5179, allocations: 50.5 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.5179, allocations: 4 kB / 1.382 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.5181, allocations: 87.42 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.5181, allocations: 4 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0004369/0.5186, allocations: 145.5 kB / 1.382 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.5187, allocations: 55.48 kB / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.231e-05/0.5188, allocations: 112.9 kB / 1.382 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.5188, allocations: 29.7 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.5189, allocations: 104.2 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.5189, allocations: 15.81 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.5189, allocations: 0 / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.519, allocations: 318.8 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.5191, allocations: 31.92 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/0.5192, allocations: 54.56 kB / 1.383 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.958e-05/0.5193, allocations: 27.98 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5194, allocations: 4 kB / 1.383 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002408/0.5196, allocations: 117.6 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5196, allocations: 4 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5196, allocations: 0 / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.5197, allocations: 4 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.5198, allocations: 11.98 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5198, allocations: 7.891 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.5199, allocations: 15.84 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.5199, allocations: 0 / 1.383 GB, free: 11.77 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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.0001039/0.52, allocations: 129.8 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.52, allocations: 0 / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.52, allocations: 16.36 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.5201, allocations: 0 / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5201, allocations: 0 / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5201, allocations: 3.953 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.5205, allocations: 394.4 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5206, allocations: 0 / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.176e-05/0.5206, allocations: 7.984 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5206, allocations: 0 / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.5206, allocations: 0 / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5206, allocations: 3.953 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5207, allocations: 0 / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.521, allocations: 219.5 kB / 1.384 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.521, allocations: 85.02 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.521, allocations: 0 / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.5211, allocations: 4 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.5212, allocations: 11.94 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.5212, allocations: 3.938 kB / 1.384 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.93e-05/0.5213, allocations: 95.2 kB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5213, allocations: 8 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003173/0.5216, allocations: 51.92 kB / 1.384 GB, free: 10.65 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.0009172/0.5225, allocations: 0.8178 MB / 1.385 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.5228, allocations: 71.89 kB / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5228, allocations: 0 / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.5229, allocations: 44.11 kB / 1.385 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.5231, allocations: 19.81 kB / 1.385 GB, free: 9.688 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.5239, allocations: 0.7266 MB / 1.386 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.5243, allocations: 0.6896 MB / 1.386 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.665e-05/0.5243, allocations: 12.17 kB / 1.386 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.5244, allocations: 19.44 kB / 1.386 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of SimCode: time 5.009e-06/0.5244, allocations: 0 / 1.386 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.5402, allocations: 2.493 MB / 1.389 GB, free: 5.836 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/0.5404, allocations: 238.5 kB / 1.389 GB, free: 5.598 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.187, allocations: 0 / 1.389 GB, free: 5.598 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat does not exist to compare? outputFormat=mat