Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008134/0.0008176, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006653/0.006653, allocations: 170 kB / 16.26 MB, free: 6.613 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.404/1.404, 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 2.976/2.976, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 9.312 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.327, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001707/0.3288, allocations: 1.305 MB / 1.075 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3301, allocations: 0.7714 MB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.3302, allocations: 0 / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.3302, allocations: 3.938 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.3303, allocations: 19.84 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.3309, allocations: 131.7 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.331, allocations: 127.6 kB / 1.076 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.3311, allocations: 19.97 kB / 1.076 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3312, allocations: 51.78 kB / 1.076 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.3314, allocations: 63.78 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.3314, allocations: 8 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.3316, allocations: 99.84 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.3317, allocations: 19.95 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.677e-05/0.3318, allocations: 77.41 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.332, allocations: 183.7 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.332, allocations: 0 / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.684e-06/0.332, allocations: 0 / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.332, allocations: 4 kB / 1.077 GB, free: 4.625 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007059/0.3328, allocations: 470.5 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3328, allocations: 8.031 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.3329, allocations: 12.84 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.333, allocations: 185.2 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.3331, allocations: 8.375 kB / 1.078 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.3331, allocations: 8.125 kB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.3334, allocations: 109.5 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3334, allocations: 3.938 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3334, allocations: 4 kB / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3334, allocations: 0 / 1.078 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002205/0.3336, allocations: 71.95 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000882/0.3345, allocations: 376.6 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.3347, allocations: 74.55 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.3349, allocations: 64.77 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3349, allocations: 160 / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/0.3352, allocations: 107.3 kB / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.3352, allocations: 0 / 1.078 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0006127/0.3358, allocations: 229.7 kB / 1.079 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3359, allocations: 55.5 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.336, allocations: 153.6 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.336, allocations: 29.7 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.3361, allocations: 100.3 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.3361, allocations: 19.75 kB / 1.079 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3362, allocations: 21.7 kB / 1.079 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3363, allocations: 322.8 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3364, allocations: 47.98 kB / 1.079 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3366, allocations: 83.69 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.3369, allocations: 120.2 kB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.3369, allocations: 0 / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003742/0.3373, allocations: 173.5 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3373, allocations: 11.88 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3373, allocations: 4 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3373, allocations: 0 / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3375, allocations: 24.08 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3375, allocations: 3.938 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3376, allocations: 16.03 kB / 1.08 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3376, allocations: 7.984 kB / 1.08 GB, free: 1.496 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001015/0.3377, allocations: 124.2 kB / 1.08 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.3378, allocations: 7.906 kB / 1.08 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.3378, allocations: 20.7 kB / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3378, allocations: 0 / 1.08 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3378, allocations: 3.938 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3378, allocations: 0 / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/0.3385, allocations: 478.2 kB / 1.08 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3385, allocations: 0 / 1.08 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.3386, allocations: 20.05 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3386, allocations: 3.938 kB / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3386, allocations: 4 kB / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3386, allocations: 0 / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3387, allocations: 0 / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.3391, allocations: 283.3 kB / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.3391, allocations: 88.95 kB / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3392, allocations: 0 / 1.081 GB, free: 392 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3393, allocations: 11.98 kB / 1.081 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.3394, allocations: 15.98 kB / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.3394, allocations: 0 / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.461e-05/0.3395, allocations: 107.2 kB / 1.081 GB, free: 256 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3395, allocations: 0 / 1.081 GB, free: 256 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003405/0.3398, allocations: 44 kB / 1.081 GB, free: 212 kB / 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003765/0.3402, allocations: 159.9 kB / 1.081 GB, free: 56 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003834/0.3406, allocations: 119.9 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3406, allocations: 0 / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.3408, allocations: 72.08 kB / 1.081 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3411, allocations: 16.2 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005083/0.3416, allocations: 265.2 kB / 1.081 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.3419, allocations: 0.6965 MB / 1.082 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.457e-05/0.3419, allocations: 12.06 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.342, allocations: 11.44 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.342, allocations: 4 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of Templates: time 0.004832/0.3468, allocations: 1.82 MB / 1.084 GB, free: 13 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)