Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 108 kB / 15.61 MB, free: 152 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.001402/0.001402, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 472.6 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.53 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3259, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003457/0.3294, allocations: 1.486 MB / 1.07 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.331, allocations: 0.736 MB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.251e-05/0.3311, allocations: 0 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.3311, allocations: 3.938 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.3312, allocations: 15.86 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.3319, allocations: 119.6 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.332, allocations: 67.78 kB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3321, allocations: 19.97 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.3322, allocations: 27.91 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.3323, allocations: 35.84 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3323, allocations: 8 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.3325, allocations: 95.84 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.3325, allocations: 19.92 kB / 1.071 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.3326, allocations: 27.86 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.3329, allocations: 139.9 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3329, allocations: 0 / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3329, allocations: 0 / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3329, allocations: 0 / 1.071 GB, free: 7.66 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.0006157/0.3335, allocations: 438.7 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3336, allocations: 16.03 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.3336, allocations: 8.844 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3338, allocations: 176.2 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3338, allocations: 4.375 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3338, allocations: 4.375 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.334, allocations: 69.97 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.334, allocations: 7.922 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.334, allocations: 4 kB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3341, allocations: 0 / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3342, allocations: 35.98 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.3347, allocations: 296.7 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.3349, allocations: 46.56 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.509e-05/0.335, allocations: 44.95 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.335, allocations: 4.062 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.3352, allocations: 87.34 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.3352, allocations: 0 / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004175/0.3357, allocations: 137.5 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.3357, allocations: 51.41 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3358, allocations: 133.7 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3359, allocations: 29.7 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.3359, allocations: 88.14 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.336, allocations: 23.73 kB / 1.073 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.336, allocations: 25.72 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3361, allocations: 318.8 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.3362, allocations: 23.98 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3363, allocations: 61.14 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.3365, allocations: 93 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3365, allocations: 4 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002346/0.3368, allocations: 109.4 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3368, allocations: 8 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3368, allocations: 0 / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3368, allocations: 4 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.3369, allocations: 24.08 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3369, allocations: 7.938 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.337, allocations: 4 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.337, allocations: 4 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.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.0001044/0.3371, allocations: 126.2 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.3372, allocations: 7.906 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.3372, allocations: 8.375 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3372, allocations: 4 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3372, allocations: 4 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3372, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.3377, allocations: 378.4 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3377, allocations: 0 / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.3378, allocations: 11.98 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3378, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3378, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3378, allocations: 0 / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3378, allocations: 7.938 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.3381, allocations: 207.4 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.3382, allocations: 88.95 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3382, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.3383, allocations: 7.984 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.3384, allocations: 11.94 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3384, allocations: 0 / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.3384, allocations: 95.27 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3384, allocations: 0 / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003237/0.3388, allocations: 43.98 kB / 1.074 GB, free: 3.961 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 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.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.0003218/0.3391, allocations: 167.9 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.3393, allocations: 71.91 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3394, allocations: 0 / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.3395, allocations: 40.38 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.3398, allocations: 8 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.3402, allocations: 197.3 kB / 1.075 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.3405, allocations: 0.6846 MB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.259e-05/0.3405, allocations: 4 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.3405, allocations: 11.44 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3405, allocations: 0 / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of Templates: time 0.003997/0.3445, allocations: 1.445 MB / 1.077 GB, free: 1.301 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)