Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009052/0.0009052, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006382/0.006382, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.057/3.057, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.000415, allocations: 13.16 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4067, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002466/0.4092, allocations: 1.219 MB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.4109, allocations: 0.7131 MB / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.753e-05/0.4111, allocations: 0 / 1.076 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.4111, allocations: 15.86 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.715e-05/0.4112, allocations: 11.92 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008334/0.4121, allocations: 99.77 kB / 1.076 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.4122, allocations: 67.78 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.4124, allocations: 19.97 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4125, allocations: 27.91 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.4126, allocations: 39.84 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.4127, allocations: 4 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.4129, allocations: 87.84 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.413, allocations: 15.92 kB / 1.076 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.4131, allocations: 61.53 kB / 1.076 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.4133, allocations: 131.9 kB / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4133, allocations: 0 / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.536e-06/0.4134, allocations: 0 / 1.077 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.4134, allocations: 4 kB / 1.077 GB, free: 4.992 MB / 0.8262 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.0007439/0.4141, allocations: 409 kB / 1.077 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.4142, allocations: 8.031 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.4142, allocations: 8.844 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.4144, allocations: 172.3 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.4144, allocations: 384 / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.4145, allocations: 8.375 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.4147, allocations: 77.91 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4147, allocations: 4 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.4147, allocations: 0 / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.4148, allocations: 0 / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.4149, allocations: 47.95 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.4156, allocations: 324.7 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.4158, allocations: 58.42 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.929e-05/0.4159, allocations: 36.97 kB / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.4159, allocations: 0 / 1.078 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.4161, allocations: 83.38 kB / 1.078 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.4161, allocations: 3.938 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004419/0.4166, allocations: 153.5 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.4166, allocations: 55.41 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.4168, allocations: 121.8 kB / 1.078 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4168, allocations: 25.7 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.4169, allocations: 88.14 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.4169, allocations: 19.75 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.4169, allocations: 21.7 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4171, allocations: 318.8 kB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.4172, allocations: 39.97 kB / 1.079 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.4173, allocations: 46.56 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.4175, allocations: 82.48 kB / 1.079 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4175, allocations: 0 / 1.079 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002383/0.4178, allocations: 113.5 kB / 1.079 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4178, allocations: 8 kB / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4178, allocations: 0 / 1.079 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4178, allocations: 4.062 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.878e-05/0.4179, allocations: 19.98 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.418, allocations: 4 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.418, allocations: 7.906 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.418, allocations: 4 kB / 1.079 GB, free: 2.418 MB / 0.8262 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.4182, allocations: 124.2 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.4182, allocations: 11.92 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.4182, allocations: 12.38 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4182, allocations: 4 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4182, allocations: 0 / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4182, allocations: 0 / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.4187, allocations: 394.3 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4187, allocations: 7.938 kB / 1.079 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.4188, allocations: 8 kB / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4188, allocations: 0 / 1.079 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4188, allocations: 3.984 kB / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4188, allocations: 0 / 1.079 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.4188, allocations: 3.938 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.4191, allocations: 212 kB / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.4191, allocations: 89 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.4192, allocations: 4 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.4193, allocations: 4 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.4193, allocations: 11.92 kB / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4193, allocations: 0 / 1.08 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.18e-05/0.4194, allocations: 99.86 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4194, allocations: 0 / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002954/0.4197, allocations: 39.94 kB / 1.08 GB, free: 1.312 MB / 0.8262 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,win.occ,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003876/0.4201, allocations: 162.1 kB / 1.08 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.4203, allocations: 71.95 kB / 1.08 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4204, allocations: 4.125 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4205, allocations: 39.92 kB / 1.08 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4208, allocations: 11.92 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.4212, allocations: 205.1 kB / 1.08 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.4215, allocations: 0.6848 MB / 1.081 GB, free: 92 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.909e-05/0.4216, allocations: 7.984 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.4216, allocations: 15.44 kB / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.4216, allocations: 0 / 1.081 GB, free: 68 kB / 0.8262 GB Notification: Performance of Templates: time 0.005001/0.4266, allocations: 1.37 MB / 1.082 GB, free: 14.7 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)