Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 102.2 kB / 16.27 MB, free: 6 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.002015/0.002015, allocations: 191 kB / 17.2 MB, free: 5.609 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 66.17 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2653, allocations: 140.4 MB / 0.9503 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003244/0.2686, allocations: 1.501 MB / 0.9517 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2701, allocations: 0.744 MB / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.2702, allocations: 0 / 0.9525 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.2703, allocations: 7.922 kB / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.2704, allocations: 15.81 kB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006675/0.2711, allocations: 123.6 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.2712, allocations: 99.69 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2714, allocations: 19.98 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.2715, allocations: 35.91 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.088e-05/0.2716, allocations: 47.81 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.2716, allocations: 11.94 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.2719, allocations: 99.84 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.2719, allocations: 15.98 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.272, allocations: 35.8 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.2723, allocations: 163.9 kB / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2723, allocations: 0 / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2723, allocations: 0 / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.2723, allocations: 0 / 0.9531 GB, free: 5.957 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006612/0.273, allocations: 458.5 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.273, allocations: 8.031 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.2731, allocations: 12.78 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2732, allocations: 176.2 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.2732, allocations: 8.359 kB / 0.9537 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.2733, allocations: 12.38 kB / 0.9538 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.2735, allocations: 85.95 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2735, allocations: 3.938 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2735, allocations: 3.984 kB / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2735, allocations: 0 / 0.9538 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.2737, allocations: 51.91 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.2742, allocations: 324.6 kB / 0.9542 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.2744, allocations: 66.55 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2745, allocations: 48.84 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.2746, allocations: 0 / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.2748, allocations: 95.39 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.2748, allocations: 0 / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.000487/0.2753, allocations: 189.5 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.2754, allocations: 59.39 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2755, allocations: 129.6 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2755, allocations: 29.7 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.2756, allocations: 96.27 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.2756, allocations: 19.81 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.2756, allocations: 37.64 kB / 0.9549 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2758, allocations: 322.8 kB / 0.9553 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.2758, allocations: 27.98 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.276, allocations: 73.98 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.2761, allocations: 113.9 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2762, allocations: 0 / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002637/0.2764, allocations: 133.5 kB / 0.9556 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2764, allocations: 4 kB / 0.9556 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.2765, allocations: 7.984 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2765, allocations: 0 / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.2766, allocations: 23.92 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2766, allocations: 4.375 kB / 0.9556 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.017e-05/0.2767, allocations: 12.05 kB / 0.9556 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2767, allocations: 8 kB / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.0001002/0.2768, allocations: 135.7 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.2768, allocations: 15.78 kB / 0.9558 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.2769, allocations: 12.36 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2769, allocations: 4 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2769, allocations: 0 / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2769, allocations: 0 / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.2774, allocations: 434.5 kB / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2774, allocations: 0 / 0.9562 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.2775, allocations: 4 kB / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2775, allocations: 0 / 0.9562 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2775, allocations: 3.984 kB / 0.9562 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2775, allocations: 0 / 0.9562 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2775, allocations: 3.938 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003512/0.2779, allocations: 255.3 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.2779, allocations: 81.02 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.278, allocations: 4 kB / 0.9566 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2781, allocations: 11.98 kB / 0.9566 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.2781, allocations: 3.938 kB / 0.9566 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2781, allocations: 7.984 kB / 0.9566 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.2782, allocations: 99.2 kB / 0.9567 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2782, allocations: 0 / 0.9567 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003328/0.2785, allocations: 44 kB / 0.9567 GB, free: 1.891 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003592/0.2789, allocations: 173.3 kB / 0.9569 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.2792, allocations: 100.2 kB / 0.957 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2792, allocations: 4.062 kB / 0.957 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.2793, allocations: 43.98 kB / 0.957 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2796, allocations: 11.98 kB / 0.957 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.2801, allocations: 221.3 kB / 0.9572 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.2805, allocations: 0.6964 MB / 0.9579 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.2805, allocations: 15.38 kB / 0.9579 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2805, allocations: 0 / 0.9579 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of Templates: time 0.004067/0.2846, allocations: 1.78 MB / 0.9597 GB, free: 14.8 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches