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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001712/0.001712, allocations: 194.9 kB / 16.14 MB, free: 6.691 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.331/2.331, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 60.09 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6437/0.6452, allocations: 140.4 MB / 0.9489 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003142/0.6483, allocations: 1.546 MB / 0.9504 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.6501, allocations: 0.7316 MB / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.527e-05/0.6502, allocations: 1.125 kB / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.571e-05/0.6503, allocations: 0 / 0.9511 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.921e-05/0.6504, allocations: 17.17 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007152/0.6511, allocations: 104 kB / 0.9512 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.6513, allocations: 69.44 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.6514, allocations: 17.2 kB / 0.9513 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.6515, allocations: 28.41 kB / 0.9514 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.295e-05/0.6516, allocations: 34.53 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.6516, allocations: 2.531 kB / 0.9514 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.6518, allocations: 90.5 kB / 0.9515 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.6519, allocations: 10.39 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.535e-05/0.6519, allocations: 32.58 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.6522, allocations: 132.6 kB / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6523, allocations: 0 / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6523, allocations: 0 / 0.9516 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.6523, allocations: 3.938 kB / 0.9517 GB, free: 7.094 MB / 0.7169 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.0007226/0.653, allocations: 449.5 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6531, allocations: 8.812 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.05e-05/0.6531, allocations: 5.688 kB / 0.9521 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.896e-05/0.6532, allocations: 175.6 kB / 0.9523 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.6533, allocations: 6.047 kB / 0.9523 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.6533, allocations: 11.72 kB / 0.9523 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.6535, allocations: 72.47 kB / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.6535, allocations: 0 / 0.9523 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.6536, allocations: 5.109 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6536, allocations: 1.219 kB / 0.9524 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.6537, allocations: 36.44 kB / 0.9524 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.6543, allocations: 297.4 kB / 0.9527 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.6544, allocations: 55.86 kB / 0.9527 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.6545, allocations: 31.94 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.6546, allocations: 0.75 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.6548, allocations: 80.91 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.6548, allocations: 1.219 kB / 0.9528 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004146/0.6552, allocations: 135.1 kB / 0.953 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.6553, allocations: 57.34 kB / 0.953 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.026e-05/0.6554, allocations: 120.2 kB / 0.9531 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.6554, allocations: 27.7 kB / 0.9532 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.6554, allocations: 90.2 kB / 0.9532 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.6554, allocations: 22.98 kB / 0.9533 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.6555, allocations: 24.97 kB / 0.9533 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.71e-05/0.6556, allocations: 324.7 kB / 0.9536 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.6556, allocations: 21.92 kB / 0.9536 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.6557, allocations: 61.47 kB / 0.9537 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.6559, allocations: 88.08 kB / 0.9538 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6559, allocations: 5.094 kB / 0.9538 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002393/0.6561, allocations: 115.8 kB / 0.9539 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6562, allocations: 7 kB / 0.9539 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.6562, allocations: 1.438 kB / 0.9539 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6562, allocations: 1.281 kB / 0.9539 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.113e-05/0.6563, allocations: 18.05 kB / 0.9539 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.6563, allocations: 1.156 kB / 0.9539 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.6564, allocations: 12.98 kB / 0.9539 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.6564, allocations: 7.906 kB / 0.9539 GB, free: 4.883 MB / 0.7169 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 7.455e-05/0.6565, allocations: 129.1 kB / 0.9541 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.6565, allocations: 7.375 kB / 0.9541 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.6565, allocations: 9.719 kB / 0.9541 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6565, allocations: 1.375 kB / 0.9541 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6566, allocations: 0 / 0.9541 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6566, allocations: 3.984 kB / 0.9541 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.657, allocations: 386.6 kB / 0.9544 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.657, allocations: 0 / 0.9544 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.657, allocations: 3.531 kB / 0.9544 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.657, allocations: 3.938 kB / 0.9544 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.657, allocations: 1.062 kB / 0.9544 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.657, allocations: 1.094 kB / 0.9545 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6571, allocations: 3.938 kB / 0.9545 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.6573, allocations: 213.2 kB / 0.9547 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.6573, allocations: 89.95 kB / 0.9547 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.6574, allocations: 1.469 kB / 0.9547 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.6575, allocations: 6.859 kB / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.6575, allocations: 6.781 kB / 0.9548 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.6575, allocations: 7.016 kB / 0.9548 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.499e-05/0.6576, allocations: 96.58 kB / 0.9549 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6576, allocations: 0 / 0.9549 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003517/0.6579, allocations: 35.53 kB / 0.9549 GB, free: 3.969 MB / 0.7169 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.0003568/0.6583, allocations: 170.4 kB / 0.9551 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.6585, allocations: 68.11 kB / 0.9551 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6586, allocations: 320 / 0.9551 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.6587, allocations: 36.17 kB / 0.9552 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.659, allocations: 13.17 kB / 0.9552 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.6594, allocations: 195.3 kB / 0.9554 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.6596, allocations: 0.6954 MB / 0.956 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.153e-05/0.6596, allocations: 3.375 kB / 0.956 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.6597, allocations: 11.41 kB / 0.956 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.6597, allocations: 0 / 0.956 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of Templates: time 0.004886/0.6646, allocations: 1.371 MB / 0.9574 GB, free: 2.191 MB / 0.7169 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