Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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_9_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.001505/0.001505, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002052/0.002052, allocations: 198.4 kB / 16.14 MB, free: 6.793 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.336/2.336, allocations: 390.2 MB / 0.6642 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.89 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6583, allocations: 140.4 MB / 0.9489 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.0023/0.6606, allocations: 1.545 MB / 0.9504 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.6617, allocations: 0.7293 MB / 0.9511 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.6617, allocations: 3.938 kB / 0.9511 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.6618, allocations: 0 / 0.9511 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.6618, allocations: 14.3 kB / 0.9511 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.6622, allocations: 96.09 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.254e-05/0.6623, allocations: 72.45 kB / 0.9513 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.6624, allocations: 17.48 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.6625, allocations: 29.66 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.14e-05/0.6626, allocations: 41.34 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.6626, allocations: 2.75 kB / 0.9514 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.6627, allocations: 86.53 kB / 0.9515 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.6628, allocations: 10.73 kB / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.225e-05/0.6628, allocations: 33.42 kB / 0.9515 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.663, allocations: 131 kB / 0.9516 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.663, allocations: 4 kB / 0.9517 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.663, allocations: 0 / 0.9517 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.663, allocations: 0 / 0.9517 GB, free: 6.988 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.0004733/0.6635, allocations: 452.7 kB / 0.9521 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.6636, allocations: 10.03 kB / 0.9521 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.6636, allocations: 8.781 kB / 0.9521 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.38e-05/0.6637, allocations: 176 kB / 0.9523 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.6637, allocations: 3 kB / 0.9523 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.6637, allocations: 11.14 kB / 0.9523 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.6639, allocations: 73.5 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.6639, allocations: 0 / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.6639, allocations: 0 / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6639, allocations: 1.656 kB / 0.9524 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.6641, allocations: 39.59 kB / 0.9524 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.6645, allocations: 301.7 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.6646, allocations: 47.73 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.129e-05/0.6647, allocations: 32.12 kB / 0.9528 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.6647, allocations: 1.375 kB / 0.9528 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.6649, allocations: 80.56 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.6649, allocations: 5.438 kB / 0.9528 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003716/0.6653, allocations: 134.5 kB / 0.953 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.6653, allocations: 53.12 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.647e-05/0.6654, allocations: 120.8 kB / 0.9531 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.6654, allocations: 26.95 kB / 0.9532 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.731e-05/0.6654, allocations: 90.98 kB / 0.9532 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/0.6655, allocations: 14.42 kB / 0.9533 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.6655, allocations: 34.78 kB / 0.9533 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.6655, allocations: 324.2 kB / 0.9536 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.774e-05/0.6656, allocations: 20.36 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.6657, allocations: 65.06 kB / 0.9537 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.6658, allocations: 88.7 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6659, allocations: 1.375 kB / 0.9538 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001998/0.6661, allocations: 115.7 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.6661, allocations: 6.281 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.6661, allocations: 1.312 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6661, allocations: 2.281 kB / 0.9539 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.6662, allocations: 21.27 kB / 0.9539 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6662, allocations: 2.688 kB / 0.9539 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.6663, allocations: 11.52 kB / 0.9539 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.6663, allocations: 7.875 kB / 0.9539 GB, free: 4.773 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 6.109e-05/0.6664, allocations: 123.7 kB / 0.954 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.6664, allocations: 6.844 kB / 0.9541 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.6664, allocations: 9.688 kB / 0.9541 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.6664, allocations: 5.375 kB / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6664, allocations: 0 / 0.9541 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6664, allocations: 5.234 kB / 0.9541 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.6668, allocations: 385.1 kB / 0.9544 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.6668, allocations: 5.25 kB / 0.9544 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.039e-05/0.6669, allocations: 3.375 kB / 0.9544 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.6669, allocations: 0 / 0.9544 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.6669, allocations: 1.094 kB / 0.9544 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.6669, allocations: 5.125 kB / 0.9545 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6669, allocations: 3.938 kB / 0.9545 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.6671, allocations: 212.5 kB / 0.9547 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.6672, allocations: 91.55 kB / 0.9547 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.6672, allocations: 3.938 kB / 0.9548 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.6673, allocations: 6.953 kB / 0.9548 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.6673, allocations: 7.406 kB / 0.9548 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.6673, allocations: 5.422 kB / 0.9548 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.6674, allocations: 97.89 kB / 0.9549 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6674, allocations: 0 / 0.9549 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003026/0.6677, allocations: 32.66 kB / 0.9549 GB, free: 3.855 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.0003043/0.668, allocations: 162.8 kB / 0.9551 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.6682, allocations: 69.2 kB / 0.9551 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.6682, allocations: 0 / 0.9551 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.6683, allocations: 35.39 kB / 0.9552 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.6686, allocations: 17.08 kB / 0.9552 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.669, allocations: 190.8 kB / 0.9553 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.543e-05/0.6691, allocations: 0.6961 MB / 0.956 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.6691, allocations: 3.5 kB / 0.956 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.6691, allocations: 15.25 kB / 0.956 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.6691, allocations: 0 / 0.956 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of Templates: time 0.003745/0.6729, allocations: 1.367 MB / 0.9574 GB, free: 2.086 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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