Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001181/0.001181, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.399/1.399, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.47 kB / 0.9113 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4217, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.003262/0.425, allocations: 1.568 MB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.4265, allocations: 0.7362 MB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.4266, allocations: 4 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.4267, allocations: 3.938 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.4267, allocations: 7.938 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.4273, allocations: 99.77 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.4275, allocations: 71.77 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.4276, allocations: 11.98 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.4277, allocations: 35.84 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.4278, allocations: 43.83 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.4278, allocations: 4 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.428, allocations: 87.91 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.428, allocations: 11.97 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.4281, allocations: 27.86 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.4284, allocations: 147.8 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4284, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.4284, allocations: 0 / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4284, allocations: 0 / 1.07 GB, free: 8.039 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.0006795/0.4291, allocations: 421 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.4291, allocations: 8.031 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.4292, allocations: 8.844 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.4293, allocations: 172.2 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.4294, allocations: 12.31 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.4294, allocations: 384 / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.4296, allocations: 73.95 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4296, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.4296, allocations: 7.984 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4297, allocations: 8 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.4298, allocations: 35.92 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000617/0.4304, allocations: 308.8 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.4306, allocations: 50.56 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.4307, allocations: 32.97 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.4307, allocations: 0 / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.4309, allocations: 79.31 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.4309, allocations: 0 / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004052/0.4313, allocations: 145.6 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4314, allocations: 55.39 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.4315, allocations: 121.8 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4315, allocations: 29.7 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.4316, allocations: 88.14 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.4316, allocations: 23.73 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.4317, allocations: 25.7 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4318, allocations: 318.8 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.4319, allocations: 39.86 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.432, allocations: 50.55 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.4321, allocations: 70.55 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4321, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002491/0.4324, allocations: 121.5 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4324, allocations: 4 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.4324, allocations: 4 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.4324, allocations: 3.938 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4326, allocations: 8 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.4326, allocations: 3.984 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.899e-05/0.4326, allocations: 4 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.4327, allocations: 4 kB / 1.073 GB, free: 5.5 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 9.513e-05/0.4328, allocations: 128.7 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.4328, allocations: 7.906 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.4328, allocations: 12.36 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4328, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4328, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4328, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.4333, allocations: 386.8 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4333, allocations: 0 / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.4333, allocations: 4 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4334, allocations: 3.938 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4334, allocations: 7.984 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4334, allocations: 80 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4334, allocations: 7.922 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.4337, allocations: 219.3 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.4338, allocations: 85.02 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.4338, allocations: 3.984 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.4339, allocations: 4 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4339, allocations: 11.86 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.4339, allocations: 4 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.991e-05/0.434, allocations: 95.92 kB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.434, allocations: 0 / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003088/0.4343, allocations: 32 kB / 1.073 GB, free: 4.41 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.0003363/0.4347, allocations: 167.7 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.435, allocations: 71.89 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.435, allocations: 0 / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4351, allocations: 40.05 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.4353, allocations: 13.81 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.4358, allocations: 194.1 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.436, allocations: 0.6926 MB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.4361, allocations: 4 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.4361, allocations: 11.44 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.4361, allocations: 0 / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.004286/0.4404, allocations: 1.377 MB / 1.076 GB, free: 1.801 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)