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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001563/0.001563, allocations: 99.53 kB / 16.35 MB, free: 5.828 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.001623/0.001623, allocations: 192.3 kB / 17.29 MB, free: 5.484 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.3 MB / 0.6655 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 61.91 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2669, allocations: 140.4 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002933/0.2698, allocations: 1.496 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2711, allocations: 0.7245 MB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.2712, allocations: 0 / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.2712, allocations: 3.938 kB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.2713, allocations: 15.86 kB / 0.9533 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.2719, allocations: 119.6 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.272, allocations: 71.72 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2722, allocations: 19.98 kB / 0.9535 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.2723, allocations: 27.92 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.2724, allocations: 31.83 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.2724, allocations: 8 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.2726, allocations: 95.84 kB / 0.9537 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.2726, allocations: 15.98 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.2727, allocations: 31.8 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.273, allocations: 139.6 kB / 0.9538 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.273, allocations: 3.938 kB / 0.9538 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.084e-06/0.273, allocations: 0 / 0.9538 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.273, allocations: 4 kB / 0.9538 GB, free: 5.203 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.0006963/0.2737, allocations: 442.6 kB / 0.9543 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.2738, allocations: 8.031 kB / 0.9543 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.2738, allocations: 8.844 kB / 0.9543 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.274, allocations: 172.3 kB / 0.9544 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.274, allocations: 4.375 kB / 0.9545 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.274, allocations: 4.375 kB / 0.9545 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.2743, allocations: 81.95 kB / 0.9545 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.2743, allocations: 3.984 kB / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.2743, allocations: 0 / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.2743, allocations: 0 / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.2744, allocations: 47.89 kB / 0.9546 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.2749, allocations: 288.7 kB / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2751, allocations: 54.55 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.2752, allocations: 36.97 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.2752, allocations: 0 / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002642/0.2755, allocations: 83.25 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.2755, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000411/0.2759, allocations: 141.6 kB / 0.9552 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.276, allocations: 51.41 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.983e-05/0.276, allocations: 125.8 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2761, allocations: 25.7 kB / 0.9554 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.2761, allocations: 88.14 kB / 0.9554 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.2761, allocations: 23.73 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.2762, allocations: 29.66 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.2763, allocations: 322.8 kB / 0.9558 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-05/0.2764, allocations: 27.98 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.2765, allocations: 61.52 kB / 0.9559 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.2766, allocations: 89.06 kB / 0.956 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2766, allocations: 0 / 0.956 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002181/0.2769, allocations: 109.4 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2769, allocations: 8.156 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2769, allocations: 4 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2769, allocations: 4 kB / 0.9561 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.277, allocations: 19.92 kB / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.277, allocations: 4 kB / 0.9561 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.2771, allocations: 7.906 kB / 0.9561 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.2771, allocations: 7.984 kB / 0.9561 GB, free: 2.594 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 8.653e-05/0.2772, allocations: 124.1 kB / 0.9562 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.2772, allocations: 4 kB / 0.9562 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.2773, allocations: 12.38 kB / 0.9563 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2773, allocations: 4 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2773, allocations: 3.938 kB / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2773, allocations: 0 / 0.9563 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.2777, allocations: 386.3 kB / 0.9566 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2777, allocations: 0 / 0.9566 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.2778, allocations: 11.98 kB / 0.9566 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2778, allocations: 0 / 0.9566 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2778, allocations: 4 kB / 0.9566 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2778, allocations: 0 / 0.9566 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2778, allocations: 3.938 kB / 0.9567 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.2781, allocations: 203.4 kB / 0.9568 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.2782, allocations: 85.02 kB / 0.9569 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.2782, allocations: 0 / 0.9569 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.2783, allocations: 11.98 kB / 0.9569 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.2783, allocations: 11.98 kB / 0.957 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.2784, allocations: 7.969 kB / 0.957 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.2784, allocations: 91.44 kB / 0.957 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2784, allocations: 4 kB / 0.957 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003087/0.2787, allocations: 39.98 kB / 0.9571 GB, free: 1.504 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.0003285/0.2791, allocations: 159.1 kB / 0.9572 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.2793, allocations: 72.34 kB / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2793, allocations: 0 / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.81e-05/0.2794, allocations: 35.92 kB / 0.9573 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.2797, allocations: 16.08 kB / 0.9574 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.2801, allocations: 193.2 kB / 0.9575 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2803, allocations: 0.6883 MB / 0.9582 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.2804, allocations: 4 kB / 0.9582 GB, free: 300 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.2804, allocations: 11.44 kB / 0.9582 GB, free: 288 kB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2804, allocations: 0 / 0.9582 GB, free: 288 kB / 0.7325 GB Notification: Performance of Templates: time 0.004109/0.2845, allocations: 1.451 MB / 0.9596 GB, free: 14.84 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 -s cvode -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) "" 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