Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.001182/0.001182, allocations: 199 kB / 16.91 MB, free: 6.188 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.302/1.302, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.599/2.599, allocations: 469.4 MB / 0.7423 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 54.94 kB / 0.9083 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2682, allocations: 159.1 MB / 1.064 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002564/0.2708, allocations: 1.558 MB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2722, allocations: 0.7167 MB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.333e-05/0.2722, allocations: 8 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.194e-05/0.2723, allocations: 3.984 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.2724, allocations: 11.86 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.2731, allocations: 103.8 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.2732, allocations: 67.78 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.2733, allocations: 4 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.884e-05/0.2734, allocations: 43.91 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.2734, allocations: 31.84 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.2735, allocations: 8 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.2736, allocations: 95.83 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.2737, allocations: 19.92 kB / 1.066 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.265e-05/0.2737, allocations: 23.88 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.2739, allocations: 104 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2739, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2739, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2739, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8419 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.0005437/0.2745, allocations: 450.6 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2745, allocations: 8.031 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.2746, allocations: 12.78 kB / 1.067 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2747, allocations: 172.2 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.2747, allocations: 384 / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.2747, allocations: 8.375 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.2749, allocations: 73.95 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.2749, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.275, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.275, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.2751, allocations: 39.91 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.2755, allocations: 292.8 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.2757, allocations: 54.56 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.081e-05/0.2758, allocations: 36.95 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.2758, allocations: 0 / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.276, allocations: 79.31 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.276, allocations: 0 / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.000401/0.2764, allocations: 149.6 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2765, allocations: 51.41 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.388e-05/0.2766, allocations: 125.8 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2766, allocations: 25.7 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.2766, allocations: 96.05 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.2767, allocations: 19.73 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.2767, allocations: 25.72 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.2768, allocations: 326.7 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.251e-05/0.2769, allocations: 27.98 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/0.277, allocations: 61.08 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.2772, allocations: 93.06 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2772, allocations: 0 / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002117/0.2774, allocations: 105.5 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2774, allocations: 8.156 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2774, allocations: 4 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2775, allocations: 4 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.2775, allocations: 15.92 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2776, allocations: 4 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.2776, allocations: 7.906 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.2776, allocations: 8 kB / 1.069 GB, free: 10.04 MB / 0.8419 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 8.537e-05/0.2777, allocations: 127.6 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.878e-05/0.2778, allocations: 7.906 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.2778, allocations: 12.38 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2778, allocations: 4 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2778, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2778, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.2782, allocations: 378.4 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.2783, allocations: 3.938 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.2783, allocations: 7.984 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2783, allocations: 0 / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.2783, allocations: 4 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2783, allocations: 0 / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2783, allocations: 3.938 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.2786, allocations: 211.7 kB / 1.069 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.2787, allocations: 85.02 kB / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.2787, allocations: 0 / 1.07 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.2788, allocations: 7.984 kB / 1.07 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.2788, allocations: 11.94 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.2788, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.232e-05/0.2789, allocations: 99.2 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2789, allocations: 4 kB / 1.07 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002934/0.2792, allocations: 35.98 kB / 1.07 GB, free: 8.957 MB / 0.8419 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.0002997/0.2795, allocations: 169.6 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000227/0.2797, allocations: 79.83 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2798, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.2799, allocations: 31.98 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.2801, allocations: 7.938 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.2805, allocations: 230.9 kB / 1.07 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.2808, allocations: 0.6885 MB / 1.071 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.2808, allocations: 11.44 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.2808, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of Templates: time 0.003033/0.2838, allocations: 1.572 MB / 1.072 GB, free: 6.121 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches