Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001112/0.001112, 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.001138/0.001139, allocations: 196.8 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.00118, allocations: 58.14 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3034, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002995/0.3064, allocations: 1.482 MB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3078, allocations: 0.736 MB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.936e-05/0.3079, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.3079, allocations: 3.938 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.308, allocations: 19.84 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.3087, allocations: 111.6 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.3089, allocations: 75.77 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.309, allocations: 15.97 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.3091, allocations: 31.86 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.096e-05/0.3092, allocations: 39.83 kB / 1.071 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.3092, allocations: 4 kB / 1.071 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.3095, allocations: 91.91 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.3096, allocations: 19.92 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.3096, allocations: 27.86 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.31, allocations: 147.8 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.31, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.274e-06/0.31, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.31, allocations: 0 / 1.071 GB, free: 7.637 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.0007964/0.3108, allocations: 438.7 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.3109, allocations: 8.031 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.311, allocations: 8.844 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.3111, allocations: 176.2 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.3112, allocations: 8.375 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.3112, allocations: 8.375 kB / 1.072 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.3115, allocations: 73.91 kB / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3115, allocations: 0 / 1.072 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.3115, allocations: 3.984 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3115, allocations: 0 / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.3117, allocations: 43.91 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.3123, allocations: 300.8 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.3124, allocations: 42.56 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.3125, allocations: 40.95 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3126, allocations: 0 / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.3128, allocations: 83.31 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3128, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004272/0.3133, allocations: 137.6 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.3133, allocations: 55.41 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3134, allocations: 125.7 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.3135, allocations: 33.7 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.3135, allocations: 84.14 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.3135, allocations: 23.75 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/0.3136, allocations: 25.7 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3137, allocations: 322.8 kB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.3138, allocations: 23.98 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.3139, allocations: 61.08 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.3141, allocations: 93.06 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3141, allocations: 0 / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002236/0.3143, allocations: 117.4 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3143, allocations: 4 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3143, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3144, allocations: 7.938 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.3145, allocations: 15.92 kB / 1.073 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3145, allocations: 4.312 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.73e-05/0.3146, allocations: 8 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3146, allocations: 4.156 kB / 1.073 GB, free: 5.031 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 9.857e-05/0.3147, allocations: 134.3 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.3147, allocations: 7.906 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.3147, allocations: 8.375 kB / 1.073 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3147, allocations: 4 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3148, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3148, allocations: 0 / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.3152, allocations: 386.4 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.3153, allocations: 0 / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.3153, allocations: 7.984 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3153, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3153, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3153, allocations: 0 / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3153, allocations: 7.938 kB / 1.074 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.3156, allocations: 219.3 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.3157, allocations: 81.02 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.3157, allocations: 0 / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.3158, allocations: 7.984 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.3159, allocations: 7.938 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3159, allocations: 4 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.3159, allocations: 95.27 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3159, allocations: 0 / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003186/0.3163, allocations: 39.98 kB / 1.074 GB, free: 3.941 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.0003661/0.3166, allocations: 164.9 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.3169, allocations: 67.91 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3169, allocations: 3.938 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.317, allocations: 44.27 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.3173, allocations: 4 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.3178, allocations: 188.9 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3181, allocations: 0.6924 MB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.297e-05/0.3181, allocations: 4.031 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.3181, allocations: 11.44 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3181, allocations: 0 / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of Templates: time 0.004504/0.3227, allocations: 1.444 MB / 1.077 GB, free: 1.285 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)