Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.001516/0.001516, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001776/0.001776, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.16 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.381/2.381, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 68.03 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2584, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00253/0.2609, allocations: 1.488 MB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2621, allocations: 0.7375 MB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.2622, allocations: 0 / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.2622, allocations: 3.938 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.303e-05/0.2623, allocations: 11.88 kB / 1.021 GB, free: 7.582 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.2628, allocations: 123.6 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2629, allocations: 71.72 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.378e-05/0.263, allocations: 11.97 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.2631, allocations: 35.86 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.2632, allocations: 27.91 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.2632, allocations: 8 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.2634, allocations: 95.91 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.2634, allocations: 19.92 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.2635, allocations: 31.84 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.2637, allocations: 139.6 kB / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2637, allocations: 4 kB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2637, allocations: 0 / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2637, allocations: 0 / 1.022 GB, free: 7.023 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.0005537/0.2643, allocations: 438.6 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2643, allocations: 16.03 kB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.2643, allocations: 8.844 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.2645, allocations: 172.2 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.2645, allocations: 8.375 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.2645, allocations: 4.375 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2647, allocations: 73.95 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.2647, allocations: 3.938 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2647, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.2647, allocations: 0 / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.2649, allocations: 43.97 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.2653, allocations: 292.8 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.2655, allocations: 50.55 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.2655, allocations: 32.97 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.2656, allocations: 11.94 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.2658, allocations: 75.38 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.2658, allocations: 0 / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003688/0.2661, allocations: 133.5 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.2662, allocations: 51.41 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.2663, allocations: 125.8 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2663, allocations: 33.7 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.2664, allocations: 96.14 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.2664, allocations: 23.73 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.2664, allocations: 21.72 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.204e-05/0.2665, allocations: 326.7 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.919e-05/0.2666, allocations: 19.98 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.667e-05/0.2667, allocations: 61.14 kB / 1.024 GB, free: 4.695 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2669, allocations: 93.06 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2669, allocations: 0 / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002117/0.2671, allocations: 113.4 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2671, allocations: 8 kB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2671, allocations: 0 / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.2671, allocations: 8.031 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.2672, allocations: 15.92 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2672, allocations: 160 / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.2673, allocations: 19.91 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.2673, allocations: 7.984 kB / 1.024 GB, free: 4.41 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.227e-05/0.2674, allocations: 124.1 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.2674, allocations: 4 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.2675, allocations: 8.375 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2675, allocations: 0 / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2675, allocations: 0 / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2675, allocations: 7.938 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.2679, allocations: 382.4 kB / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2679, allocations: 0 / 1.024 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.268, allocations: 7.984 kB / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.268, allocations: 0 / 1.024 GB, free: 3.824 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.268, allocations: 8 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.268, allocations: 0 / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.268, allocations: 3.938 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.2683, allocations: 215.7 kB / 1.025 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.2683, allocations: 85.05 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.2684, allocations: 0 / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.2685, allocations: 7.984 kB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.2685, allocations: 7.938 kB / 1.025 GB, free: 3.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.2685, allocations: 7.984 kB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.2686, allocations: 87.28 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2686, allocations: 4 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000299/0.2689, allocations: 39.98 kB / 1.025 GB, free: 3.332 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.000284/0.2692, allocations: 156 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.2694, allocations: 80.09 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2694, allocations: 0 / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2695, allocations: 35.97 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.2698, allocations: 8 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.2702, allocations: 184.9 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.2704, allocations: 0.6963 MB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.2705, allocations: 8.078 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.2705, allocations: 11.44 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2705, allocations: 0 / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of Templates: time 0.003899/0.2744, allocations: 1.446 MB / 1.027 GB, free: 0.6758 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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