Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 292.3 MB / 308.1 MB, free: 4.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 182.4 kB / 376.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 101 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 55.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3182, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003847/0.3221, allocations: 1.557 MB / 0.9837 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3237, allocations: 0.7722 MB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.3238, allocations: 4 kB / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.3239, allocations: 0 / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.086e-05/0.324, allocations: 7.938 kB / 0.9845 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006663/0.3247, allocations: 103.8 kB / 0.9846 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.3248, allocations: 75.7 kB / 0.9847 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.325, allocations: 15.98 kB / 0.9847 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3251, allocations: 31.91 kB / 0.9847 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.3252, allocations: 39.83 kB / 0.9848 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3252, allocations: 4 kB / 0.9848 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.3255, allocations: 91.84 kB / 0.9849 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.3255, allocations: 11.98 kB / 0.9849 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.3256, allocations: 35.8 kB / 0.9849 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.3258, allocations: 131.9 kB / 0.985 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.514e-05/0.3259, allocations: 4 kB / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3259, allocations: 0 / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3259, allocations: 0 / 0.985 GB, free: 7.469 MB / 0.7136 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.0007459/0.3266, allocations: 417 kB / 0.9854 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.3267, allocations: 16.03 kB / 0.9854 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.674e-05/0.3268, allocations: 8.844 kB / 0.9854 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.3269, allocations: 176.2 kB / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.327, allocations: 4.312 kB / 0.9856 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.327, allocations: 12.36 kB / 0.9856 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.3272, allocations: 73.95 kB / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3272, allocations: 0 / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3273, allocations: 0 / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3273, allocations: 0 / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.3274, allocations: 39.97 kB / 0.9857 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.3281, allocations: 316.7 kB / 0.986 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3283, allocations: 46.5 kB / 0.9861 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.263e-05/0.3284, allocations: 36.97 kB / 0.9861 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.3284, allocations: 0 / 0.9861 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.3286, allocations: 83.44 kB / 0.9862 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3286, allocations: 0 / 0.9862 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004243/0.3291, allocations: 137.5 kB / 0.9863 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.3291, allocations: 59.41 kB / 0.9864 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.3293, allocations: 125.8 kB / 0.9865 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.3293, allocations: 25.7 kB / 0.9865 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.3293, allocations: 100.1 kB / 0.9866 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.3294, allocations: 11.75 kB / 0.9866 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/0.3294, allocations: 29.7 kB / 0.9867 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.3296, allocations: 322.8 kB / 0.987 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.167e-05/0.3297, allocations: 27.97 kB / 0.987 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.276e-05/0.3298, allocations: 46.56 kB / 0.987 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.33, allocations: 82.47 kB / 0.9871 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.33, allocations: 0 / 0.9871 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002381/0.3302, allocations: 117.5 kB / 0.9872 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3302, allocations: 4 kB / 0.9872 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3303, allocations: 0 / 0.9872 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3303, allocations: 4 kB / 0.9872 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.3304, allocations: 11.98 kB / 0.9873 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3304, allocations: 0 / 0.9873 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.503e-05/0.3305, allocations: 8 kB / 0.9873 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3305, allocations: 4 kB / 0.9873 GB, free: 4.922 MB / 0.7136 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.0001106/0.3306, allocations: 125.8 kB / 0.9874 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.3306, allocations: 11.89 kB / 0.9874 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.3307, allocations: 8.375 kB / 0.9874 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3307, allocations: 0 / 0.9874 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3307, allocations: 4 kB / 0.9874 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3307, allocations: 0 / 0.9874 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.3312, allocations: 382.3 kB / 0.9878 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3312, allocations: 0 / 0.9878 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.3312, allocations: 15.94 kB / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3312, allocations: 0 / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.3312, allocations: 3.984 kB / 0.9878 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3313, allocations: 0 / 0.9878 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3313, allocations: 3.938 kB / 0.9878 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.3319, allocations: 0.7907 MB / 0.9886 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.332, allocations: 85.03 kB / 0.9887 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.332, allocations: 4 kB / 0.9887 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.3321, allocations: 0 / 0.9887 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.3321, allocations: 7.984 kB / 0.9887 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3321, allocations: 11.98 kB / 0.9887 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.518e-05/0.3322, allocations: 91.92 kB / 0.9888 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3322, allocations: 0 / 0.9888 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004034/0.3326, allocations: 39.91 kB / 0.9888 GB, free: 3.207 MB / 0.7136 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.0004635/0.3331, allocations: 169.2 kB / 0.989 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002485/0.3334, allocations: 75.89 kB / 0.989 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3334, allocations: 0 / 0.989 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3335, allocations: 40.03 kB / 0.9891 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.3338, allocations: 19.92 kB / 0.9891 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.3343, allocations: 305 kB / 0.9894 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3347, allocations: 0.6926 MB / 0.9901 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.299e-05/0.3347, allocations: 4 kB / 0.9901 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.3348, allocations: 15.42 kB / 0.9901 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.3348, allocations: 0 / 0.9901 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of Templates: time 0.004734/0.3395, allocations: 1.404 MB / 0.9914 GB, free: 448 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)