Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.423/2.423, allocations: 393.5 MB / 408.4 MB, free: 11 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.001051/0.001051, allocations: 190.6 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.526/1.526, 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.0009786/0.0009786, allocations: 94.33 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004017, allocations: 10.66 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.298, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.4889, allocations: 152 MB / 1.378 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4892, allocations: 91.94 kB / 1.378 GB, free: 1.332 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.009647/0.4989, allocations: 3.023 MB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4989, allocations: 0 / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.4989, allocations: 4 kB / 1.381 GB, free: 14.3 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.0006552/0.4996, allocations: 432.7 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.4997, allocations: 12.03 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.4997, allocations: 30.56 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.4998, allocations: 11.95 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.5, allocations: 174.9 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.5, allocations: 8 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.5, allocations: 7.938 kB / 1.381 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.5002, allocations: 73.66 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5003, allocations: 0 / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5003, allocations: 3.938 kB / 1.381 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.5003, allocations: 3.938 kB / 1.382 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.5004, allocations: 43.97 kB / 1.382 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.5012, allocations: 316.8 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.5014, allocations: 50.56 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.5014, allocations: 4 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.5016, allocations: 79.44 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 3.337e-06/0.5016, allocations: 3.984 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.00045/0.5021, allocations: 153.5 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.5021, allocations: 55.39 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5022, allocations: 109 kB / 1.382 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.5023, allocations: 29.7 kB / 1.382 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.5023, allocations: 92.23 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.5024, allocations: 19.86 kB / 1.382 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.5024, allocations: 4 kB / 1.382 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5025, allocations: 318.8 kB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.5027, allocations: 31.92 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.974e-05/0.5028, allocations: 50.55 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.955e-05/0.5029, allocations: 35.98 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5029, allocations: 4 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002567/0.5031, allocations: 109.6 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5032, allocations: 4 kB / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5032, allocations: 0 / 1.383 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.5032, allocations: 4 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.5033, allocations: 11.94 kB / 1.383 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5033, allocations: 12 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.5034, allocations: 19.84 kB / 1.383 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.5034, allocations: 7.938 kB / 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.0001009/0.5035, allocations: 114.6 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.5036, allocations: 4 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.5036, allocations: 12.36 kB / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.5036, allocations: 0 / 1.383 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5036, allocations: 4 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5036, allocations: 3.953 kB / 1.383 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.5041, allocations: 386.4 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5041, allocations: 0 / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.5042, allocations: 8 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.5042, allocations: 0 / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.5042, allocations: 7.984 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.5042, allocations: 7.953 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5042, allocations: 480 / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.5045, allocations: 203.5 kB / 1.384 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.5045, allocations: 85.02 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.5046, allocations: 11.92 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.5047, allocations: 8 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.5047, allocations: 15.88 kB / 1.384 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.5047, allocations: 8 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.887e-05/0.5048, allocations: 91.92 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5048, allocations: 0 / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003132/0.5051, allocations: 47.94 kB / 1.384 GB, free: 10.68 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.0008673/0.506, allocations: 0.8196 MB / 1.385 GB, free: 9.84 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.5063, allocations: 83.89 kB / 1.385 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5063, allocations: 0 / 1.385 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.796e-05/0.5064, allocations: 35.98 kB / 1.385 GB, free: 9.723 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.5066, allocations: 16.58 kB / 1.385 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007984/0.5074, allocations: 0.7246 MB / 1.386 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.5076, allocations: 0.6926 MB / 1.386 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.5077, allocations: 8.125 kB / 1.386 GB, free: 8.195 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.5077, allocations: 19.42 kB / 1.386 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of SimCode: time 3.41e-07/0.5077, allocations: 0 / 1.386 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01645/0.5242, allocations: 2.502 MB / 1.389 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.5245, allocations: 256.5 kB / 1.389 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.166, allocations: 0 / 1.389 GB, free: 5.535 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat does not exist to compare? outputFormat=mat