Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.0015/0.0015, allocations: 106.6 kB / 16.37 MB, free: 6.477 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.001867/0.001867, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.406/2.406, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 60.34 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2659, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002531/0.2685, allocations: 1.479 MB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.2697, allocations: 0.7376 MB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.2697, allocations: 3.938 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.859e-05/0.2698, allocations: 7.922 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.52e-05/0.2698, allocations: 11.88 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.2703, allocations: 119.6 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.2704, allocations: 79.7 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.127e-05/0.2705, allocations: 11.98 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.2706, allocations: 23.92 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.416e-05/0.2706, allocations: 31.91 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.2707, allocations: 4 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.2708, allocations: 99.84 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.2709, allocations: 19.91 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.2709, allocations: 31.86 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.2711, allocations: 143.6 kB / 1.022 GB, free: 7.047 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2712, allocations: 0 / 1.022 GB, free: 7.047 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2712, allocations: 0 / 1.022 GB, free: 7.047 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2712, allocations: 0 / 1.022 GB, free: 7.047 MB / 0.795 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.0005378/0.2717, allocations: 438.6 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.2718, allocations: 8.625 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.2718, allocations: 8.844 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2719, allocations: 180.2 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.2719, allocations: 16.31 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.272, allocations: 4.375 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2721, allocations: 65.97 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.2722, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2722, allocations: 8 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2722, allocations: 0 / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.2723, allocations: 35.97 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.2728, allocations: 300.8 kB / 1.023 GB, free: 5.852 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.2729, allocations: 46.5 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.625e-05/0.273, allocations: 36.97 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.273, allocations: 0 / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/0.2732, allocations: 87.36 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.2732, allocations: 0 / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003757/0.2736, allocations: 137.5 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2736, allocations: 59.47 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.151e-05/0.2737, allocations: 117.8 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2737, allocations: 29.7 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/0.2738, allocations: 88.12 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2738, allocations: 23.75 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.2739, allocations: 29.7 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.274, allocations: 318.8 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/0.274, allocations: 27.92 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.484e-05/0.2741, allocations: 57.12 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.2743, allocations: 93.02 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.2743, allocations: 7.984 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002266/0.2745, allocations: 117.4 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2746, allocations: 4 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2746, allocations: 4 kB / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2746, allocations: 0 / 1.024 GB, free: 4.473 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.452e-05/0.2747, allocations: 16 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2747, allocations: 0 / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.2748, allocations: 11.89 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2748, allocations: 4.156 kB / 1.024 GB, free: 4.441 MB / 0.795 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.518e-05/0.2749, allocations: 133.7 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.2749, allocations: 0 / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.2749, allocations: 16.36 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2749, allocations: 0 / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2749, allocations: 0 / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2749, allocations: 0 / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.2754, allocations: 386.3 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2754, allocations: 0 / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.2754, allocations: 8 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.2755, allocations: 3.938 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.2755, allocations: 3.984 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2755, allocations: 0 / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2755, allocations: 7.938 kB / 1.024 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.2758, allocations: 203.4 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.2758, allocations: 77.11 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.2758, allocations: 11.92 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.2759, allocations: 0 / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.276, allocations: 15.92 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.276, allocations: 4 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.517e-05/0.276, allocations: 91.92 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.276, allocations: 3.938 kB / 1.025 GB, free: 3.395 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002968/0.2764, allocations: 36 kB / 1.025 GB, free: 3.359 MB / 0.795 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.0002736/0.2766, allocations: 164.3 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.2769, allocations: 71.89 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2769, allocations: 0 / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.277, allocations: 36.3 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2772, allocations: 19.92 kB / 1.025 GB, free: 3.078 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.2776, allocations: 185.7 kB / 1.025 GB, free: 2.867 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2779, allocations: 0.6885 MB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.2779, allocations: 4 kB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.2779, allocations: 19.42 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2779, allocations: 0 / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of Templates: time 0.003694/0.2816, allocations: 1.433 MB / 1.027 GB, free: 0.7031 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time