Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.334/2.334, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001136/0.001136, allocations: 183.9 kB / 0.4901 GB, free: 2.246 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.543/1.543, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.0009795/0.000979, allocations: 105.8 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 16.33 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3135, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1896/0.5031, allocations: 152 MB / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.5034, allocations: 87.94 kB / 1.378 GB, free: 1.402 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.009398/0.5129, allocations: 3.035 MB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.275e-06/0.5129, allocations: 4 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.5129, allocations: 0 / 1.381 GB, free: 14.36 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.0006649/0.5136, allocations: 428.7 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.5137, allocations: 8.562 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.759e-05/0.5137, allocations: 42.56 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.5138, allocations: 7.953 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.5139, allocations: 178.8 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.514, allocations: 0 / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.514, allocations: 4 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.5142, allocations: 69.66 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5142, allocations: 3.984 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.5143, allocations: 0 / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5143, allocations: 8 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.5144, allocations: 43.91 kB / 1.382 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.5152, allocations: 316.8 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.5153, allocations: 50.56 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.5154, allocations: 0 / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.5156, allocations: 83.44 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.5156, allocations: 8 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.000467/0.516, allocations: 145.6 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.5161, allocations: 59.39 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.5163, allocations: 109 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.5163, allocations: 29.7 kB / 1.382 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.5164, allocations: 96.23 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.5164, allocations: 15.8 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5164, allocations: 4 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5166, allocations: 318.8 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-05/0.5167, allocations: 23.98 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.5168, allocations: 58.48 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.817e-05/0.5169, allocations: 35.98 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5169, allocations: 0 / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002716/0.5172, allocations: 113.9 kB / 1.383 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.5172, allocations: 8.062 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5172, allocations: 3.938 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5173, allocations: 0 / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.5174, allocations: 16 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.5174, allocations: 12 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.5175, allocations: 11.84 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.5175, allocations: 4 kB / 1.383 GB, free: 11.84 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.0001281/0.5176, allocations: 121.8 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.5177, allocations: 4 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.5177, allocations: 16.36 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.5177, allocations: 0 / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.5177, allocations: 0 / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.5177, allocations: 7.953 kB / 1.383 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.5183, allocations: 390.4 kB / 1.384 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5183, allocations: 0 / 1.384 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.5183, allocations: 8 kB / 1.384 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5184, allocations: 0 / 1.384 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.5184, allocations: 3.984 kB / 1.384 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5184, allocations: 3.953 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5184, allocations: 0 / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.5187, allocations: 211.5 kB / 1.384 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.5188, allocations: 89.02 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.5188, allocations: 3.984 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/0.5189, allocations: 4 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.519, allocations: 11.94 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.519, allocations: 0 / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.098e-05/0.5191, allocations: 95.86 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5191, allocations: 4 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003322/0.5194, allocations: 51.94 kB / 1.384 GB, free: 10.74 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.001018/0.5204, allocations: 0.8242 MB / 1.385 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002665/0.5207, allocations: 71.89 kB / 1.385 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5207, allocations: 0 / 1.385 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.5208, allocations: 44.09 kB / 1.385 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.5211, allocations: 15.89 kB / 1.385 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009764/0.5221, allocations: 0.725 MB / 1.386 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.5224, allocations: 0.6887 MB / 1.386 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.5224, allocations: 8.188 kB / 1.386 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.5225, allocations: 23.42 kB / 1.386 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of SimCode: time 8.62e-07/0.5225, allocations: 0 / 1.386 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.5371, allocations: 2.496 MB / 1.389 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.5373, allocations: 243.4 kB / 1.389 GB, free: 5.672 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.127, allocations: 1 kB / 1.389 GB, free: 5.672 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat does not exist to compare? outputFormat=mat