Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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.001361/0.001361, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001331/0.001331, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.239/2.239, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.78 kB / 0.8127 GB, free: 33.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2649, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003035/0.2679, allocations: 1.55 MB / 0.9513 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2693, allocations: 0.7129 MB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.2694, allocations: 4 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.2694, allocations: 0 / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.628e-05/0.2695, allocations: 15.84 kB / 0.952 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.2701, allocations: 111.8 kB / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2703, allocations: 67.78 kB / 0.9522 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.2704, allocations: 7.984 kB / 0.9522 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.2705, allocations: 39.84 kB / 0.9522 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.2706, allocations: 31.84 kB / 0.9522 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2706, allocations: 8 kB / 0.9523 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.2708, allocations: 91.91 kB / 0.9523 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.2708, allocations: 11.98 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.2709, allocations: 39.8 kB / 0.9524 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.2711, allocations: 100 kB / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2711, allocations: 0 / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2711, allocations: 0 / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.2712, allocations: 3.938 kB / 0.9525 GB, free: 6.461 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006747/0.2718, allocations: 446.5 kB / 0.9529 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2719, allocations: 16.02 kB / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.2719, allocations: 12.84 kB / 0.9529 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.2721, allocations: 172.3 kB / 0.9531 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.2721, allocations: 384 / 0.9531 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.2721, allocations: 4.375 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.2723, allocations: 73.97 kB / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2724, allocations: 0 / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.2724, allocations: 0 / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2724, allocations: 7.922 kB / 0.9532 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.2725, allocations: 35.92 kB / 0.9532 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.2731, allocations: 304.7 kB / 0.9535 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.2732, allocations: 50.56 kB / 0.9536 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.878e-05/0.2733, allocations: 32.97 kB / 0.9536 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2734, allocations: 3.984 kB / 0.9536 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.2736, allocations: 83.3 kB / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2736, allocations: 0 / 0.9537 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0004146/0.274, allocations: 141.6 kB / 0.9538 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2741, allocations: 55.41 kB / 0.9539 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2742, allocations: 121.8 kB / 0.954 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2743, allocations: 25.7 kB / 0.954 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.2743, allocations: 96.14 kB / 0.9541 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.2744, allocations: 15.75 kB / 0.9541 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.2744, allocations: 29.7 kB / 0.9541 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2745, allocations: 322.8 kB / 0.9544 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.687e-05/0.2746, allocations: 23.98 kB / 0.9545 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.083e-05/0.2747, allocations: 69.45 kB / 0.9545 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.2749, allocations: 89.06 kB / 0.9546 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2749, allocations: 4 kB / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002213/0.2751, allocations: 109.4 kB / 0.9547 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2752, allocations: 10.03 kB / 0.9547 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2752, allocations: 0 / 0.9547 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2752, allocations: 4 kB / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.2753, allocations: 11.98 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.2753, allocations: 7.938 kB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.2754, allocations: 16 kB / 0.9548 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.2754, allocations: 4 kB / 0.9548 GB, free: 3.84 MB / 0.7325 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.0001045/0.2755, allocations: 131.7 kB / 0.9549 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.2755, allocations: 4 kB / 0.9549 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.2756, allocations: 8.375 kB / 0.9549 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2756, allocations: 4 kB / 0.9549 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2756, allocations: 3.938 kB / 0.9549 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2756, allocations: 0 / 0.9549 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004617/0.2761, allocations: 386.3 kB / 0.9553 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2761, allocations: 0 / 0.9553 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-05/0.2761, allocations: 7.984 kB / 0.9553 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2761, allocations: 0 / 0.9553 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.2762, allocations: 0 / 0.9553 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2762, allocations: 4 kB / 0.9553 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2762, allocations: 3.938 kB / 0.9553 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.2765, allocations: 207.4 kB / 0.9555 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.2765, allocations: 85.02 kB / 0.9556 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.2765, allocations: 4 kB / 0.9556 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.143e-05/0.2766, allocations: 4 kB / 0.9556 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.2767, allocations: 11.92 kB / 0.9556 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.2767, allocations: 0 / 0.9556 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.678e-05/0.2768, allocations: 91.27 kB / 0.9557 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2768, allocations: 4 kB / 0.9557 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003391/0.2771, allocations: 43.98 kB / 0.9557 GB, free: 2.758 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: 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.0003614/0.2775, allocations: 156.3 kB / 0.9559 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.2777, allocations: 72.03 kB / 0.956 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2778, allocations: 4.062 kB / 0.956 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.2779, allocations: 43.91 kB / 0.956 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2781, allocations: 4.625 kB / 0.956 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.2786, allocations: 238.6 kB / 0.9562 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2789, allocations: 0.6883 MB / 0.9569 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.279, allocations: 11.44 kB / 0.9569 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.279, allocations: 0 / 0.9569 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of Templates: time 0.003638/0.2826, allocations: 1.587 MB / 0.9585 GB, free: 15.9 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches