Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001157, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 194 kB / 16.53 MB, free: 6.391 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 68.33 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3186, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002746/0.3214, allocations: 1.486 MB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3229, allocations: 0.7438 MB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.323, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.323, allocations: 7.875 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.701e-05/0.3231, allocations: 11.88 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.3239, allocations: 123.6 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.324, allocations: 75.77 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.3242, allocations: 23.97 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3243, allocations: 27.92 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.3244, allocations: 43.81 kB / 1.071 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3244, allocations: 8 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.3246, allocations: 95.84 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.3247, allocations: 19.92 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.3247, allocations: 31.86 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.3249, allocations: 143.9 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.325, allocations: 0 / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.325, allocations: 4 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.325, allocations: 0 / 1.071 GB, free: 7.566 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.0006861/0.3257, allocations: 413 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3257, allocations: 8.031 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.3258, allocations: 8.844 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3259, allocations: 176.2 kB / 1.072 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3259, allocations: 4.312 kB / 1.072 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.326, allocations: 8.375 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.3262, allocations: 73.97 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3262, allocations: 0 / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3262, allocations: 3.984 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3262, allocations: 0 / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3263, allocations: 39.92 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007351/0.3271, allocations: 316.8 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3272, allocations: 50.5 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.3273, allocations: 36.97 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3274, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.3276, allocations: 79.44 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.3276, allocations: 4 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004174/0.328, allocations: 137.5 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.3281, allocations: 55.41 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.3282, allocations: 129.7 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.3282, allocations: 25.7 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.89e-05/0.3283, allocations: 92.14 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.3283, allocations: 15.73 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.3284, allocations: 33.7 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3285, allocations: 322.8 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.415e-05/0.3286, allocations: 27.97 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.45e-05/0.3287, allocations: 51.42 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3289, allocations: 87.28 kB / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3289, allocations: 0 / 1.073 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002542/0.3291, allocations: 117.5 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3291, allocations: 4 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3292, allocations: 8 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.3292, allocations: 4 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.77e-05/0.3293, allocations: 16.05 kB / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3293, allocations: 0 / 1.073 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.3294, allocations: 8 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3294, allocations: 7.922 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.763e-05/0.3295, allocations: 126.3 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.3295, allocations: 3.906 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.3296, allocations: 12.31 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3296, allocations: 0 / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3296, allocations: 4 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3296, allocations: 0 / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.3301, allocations: 382.4 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3301, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.3301, allocations: 7.984 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.3301, allocations: 4 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3302, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.3302, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3302, allocations: 11.88 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3305, allocations: 215.4 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/0.3305, allocations: 81.02 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3306, allocations: 0 / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.3307, allocations: 7.984 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.3307, allocations: 7.938 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3307, allocations: 4 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.071e-05/0.3308, allocations: 99.27 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3308, allocations: 0 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002985/0.3311, allocations: 39.98 kB / 1.074 GB, free: 3.91 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,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 (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.0003797/0.3315, allocations: 154.6 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.3318, allocations: 83.88 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3318, allocations: 7.875 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3319, allocations: 31.98 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3322, allocations: 9.672 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.3326, allocations: 180.4 kB / 1.075 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3329, allocations: 0.6905 MB / 1.075 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.133e-05/0.333, allocations: 7.984 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.333, allocations: 11.44 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of SimCode: time 1.773e-06/0.333, allocations: 0 / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of Templates: time 0.004503/0.3375, allocations: 1.458 MB / 1.077 GB, free: 1.242 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)