Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 180.2 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008453/0.0008454, allocations: 96.02 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 9.688 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2873, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1977/0.4851, allocations: 133.7 MB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/0.4856, allocations: 79.95 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.009704/0.4953, allocations: 2.99 MB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.997e-06/0.4953, allocations: 0 / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.4954, allocations: 4 kB / 1.034 GB, free: 6.871 MB / 0.6823 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.0006988/0.4961, allocations: 428.7 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.4962, allocations: 8.031 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.795e-05/0.4962, allocations: 30.56 kB / 1.034 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.617e-05/0.4963, allocations: 11.89 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.4965, allocations: 182.8 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.4965, allocations: 8 kB / 1.034 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.4966, allocations: 4 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.4968, allocations: 65.66 kB / 1.034 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4968, allocations: 4 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.4969, allocations: 0 / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.4969, allocations: 3.938 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.497, allocations: 51.97 kB / 1.034 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008148/0.4979, allocations: 312.8 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.498, allocations: 54.55 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.4981, allocations: 3.938 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.4983, allocations: 91.48 kB / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.4984, allocations: 0 / 1.035 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004996/0.4989, allocations: 145.5 kB / 1.035 GB, free: 5.309 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.4989, allocations: 55.36 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.4991, allocations: 117 kB / 1.035 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.4991, allocations: 25.7 kB / 1.035 GB, free: 5.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.4992, allocations: 88.31 kB / 1.035 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.4993, allocations: 15.81 kB / 1.035 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.4993, allocations: 0 / 1.035 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.4995, allocations: 324.8 kB / 1.036 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4996, allocations: 31.92 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.4998, allocations: 50.56 kB / 1.036 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.4999, allocations: 35.97 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4999, allocations: 0 / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002658/0.5002, allocations: 121.5 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.5002, allocations: 8 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5002, allocations: 3.938 kB / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.5002, allocations: 0 / 1.036 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.5004, allocations: 15.97 kB / 1.036 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5004, allocations: 4 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.5005, allocations: 7.953 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.5005, allocations: 16.05 kB / 1.036 GB, free: 4.352 MB / 0.6823 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.0001539/0.5007, allocations: 119 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.5007, allocations: 7.906 kB / 1.036 GB, free: 4.219 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.5007, allocations: 8.375 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.5007, allocations: 0 / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5008, allocations: 4 kB / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5008, allocations: 0 / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.5013, allocations: 390.4 kB / 1.036 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5014, allocations: 0 / 1.036 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.5014, allocations: 7.984 kB / 1.036 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5014, allocations: 0 / 1.036 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.5014, allocations: 4 kB / 1.036 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.5015, allocations: 0 / 1.036 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5015, allocations: 3.953 kB / 1.036 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.5018, allocations: 219.4 kB / 1.037 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.648e-05/0.5019, allocations: 81.02 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.502, allocations: 4 kB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.728e-05/0.502, allocations: 4 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.5021, allocations: 11.94 kB / 1.037 GB, free: 3.406 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.5021, allocations: 11.94 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.21e-05/0.5022, allocations: 95.86 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5022, allocations: 0 / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004145/0.5026, allocations: 51.92 kB / 1.037 GB, free: 3.25 MB / 0.6823 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.001125/0.5038, allocations: 0.8224 MB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.5041, allocations: 79.97 kB / 1.038 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5041, allocations: 0 / 1.038 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.5042, allocations: 35.98 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.5044, allocations: 3.984 kB / 1.038 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/0.5054, allocations: 0.7322 MB / 1.039 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.5057, allocations: 0.6965 MB / 1.039 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.5057, allocations: 8.172 kB / 1.039 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.5058, allocations: 19.44 kB / 1.039 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/0.5058, allocations: 0 / 1.039 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.5194, allocations: 2.496 MB / 1.042 GB, free: 14.42 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.5196, allocations: 245.3 kB / 1.042 GB, free: 14.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.172, allocations: 0 / 1.042 GB, free: 14.14 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)