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.01012/0.01012, allocations: 100.3 kB / 15.73 MB, free: 6.449 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.001922/0.001922, allocations: 198.2 kB / 16.68 MB, free: 6.355 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.569/1.569, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.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.505/2.505, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 65.89 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2671, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002646/0.2698, allocations: 1.49 MB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001305/0.2711, allocations: 0.722 MB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.2712, allocations: 4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.2712, allocations: 3.938 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.2713, allocations: 11.86 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005662/0.2719, allocations: 123.6 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.272, allocations: 67.78 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.2721, allocations: 15.97 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.2722, allocations: 39.84 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.2723, allocations: 27.91 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2723, allocations: 8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002/0.2725, allocations: 95.84 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.2725, allocations: 19.92 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.2726, allocations: 27.86 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.2728, allocations: 139.6 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2728, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2728, allocations: 3.938 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.2729, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 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.0005955/0.2735, allocations: 446.6 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2735, allocations: 8.031 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.2736, allocations: 8.844 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2737, allocations: 180.2 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.2737, allocations: 4.375 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.2737, allocations: 4.375 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.2739, allocations: 73.95 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.274, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.274, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.274, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.2741, allocations: 39.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.2747, allocations: 292.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.2748, allocations: 58.55 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.956e-05/0.2749, allocations: 32.97 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.2749, allocations: 3.984 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.2751, allocations: 79.44 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.2751, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004058/0.2756, allocations: 137.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.2756, allocations: 55.41 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.2757, allocations: 129.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2757, allocations: 29.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.708e-05/0.2758, allocations: 92.05 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.2758, allocations: 15.89 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.2759, allocations: 21.72 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.276, allocations: 322.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.2761, allocations: 23.98 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.2762, allocations: 65.08 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.2764, allocations: 93 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.2764, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002491/0.2766, allocations: 109.4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2767, allocations: 8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.2767, allocations: 4.234 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2767, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.333e-05/0.2768, allocations: 11.98 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2768, allocations: 11.92 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.2769, allocations: 15.91 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.2769, allocations: 4 kB / 1.093 GB, free: 12.09 MB / 0.8575 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.572e-05/0.277, allocations: 125.7 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.277, allocations: 7.906 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.2771, allocations: 12.38 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2771, allocations: 7.938 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2771, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2771, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.2776, allocations: 378.4 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2776, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.2776, allocations: 7.984 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2776, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.2777, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2777, allocations: 4 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2777, allocations: 3.938 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.278, allocations: 207.4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.278, allocations: 85.05 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.278, allocations: 0 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.2782, allocations: 7.984 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.2782, allocations: 15.94 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.2782, allocations: 3.938 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.228e-05/0.2783, allocations: 91.27 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2783, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003241/0.2786, allocations: 47.89 kB / 1.094 GB, free: 11 MB / 0.8575 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.0003367/0.279, allocations: 158 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002469/0.2792, allocations: 71.89 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2792, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.2794, allocations: 39.91 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.2797, allocations: 5.891 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.2801, allocations: 193.3 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.2804, allocations: 0.6846 MB / 1.095 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.363e-05/0.2804, allocations: 7.75 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.2805, allocations: 11.44 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.2805, allocations: 0 / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of Templates: time 0.004126/0.2846, allocations: 1.459 MB / 1.096 GB, free: 8.344 MB / 0.8575 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time