Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 87.98 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 177.4 kB / 16.92 MB, free: 6.23 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.328/1.328, allocations: 223.3 MB / 241 MB, free: 5.027 MB / 190.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.4/2.4, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003604, allocations: 12.23 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6546/0.655, allocations: 142.4 MB / 0.9557 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001407/0.6565, allocations: 1.226 MB / 0.9569 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.6576, allocations: 0.7295 MB / 0.9576 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.602e-05/0.6576, allocations: 1.125 kB / 0.9576 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.6577, allocations: 7.875 kB / 0.9576 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.6577, allocations: 17.25 kB / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.6582, allocations: 106.4 kB / 0.9577 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.6583, allocations: 84.89 kB / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.6584, allocations: 9.609 kB / 0.9578 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.87e-05/0.6585, allocations: 52.77 kB / 0.9579 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.881e-05/0.6586, allocations: 41.41 kB / 0.9579 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.6586, allocations: 7.062 kB / 0.9579 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.6588, allocations: 82.88 kB / 0.958 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.6588, allocations: 19.5 kB / 0.958 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.6589, allocations: 66.61 kB / 0.9581 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.6591, allocations: 108.4 kB / 0.9582 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6591, allocations: 0 / 0.9582 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6591, allocations: 1.781 kB / 0.9582 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.6591, allocations: 0 / 0.9582 GB, free: 5.797 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004744/0.6596, allocations: 452.9 kB / 0.9586 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6596, allocations: 9.406 kB / 0.9586 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.6597, allocations: 14.64 kB / 0.9587 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.104e-05/0.6597, allocations: 172.4 kB / 0.9588 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.6598, allocations: 7.031 kB / 0.9588 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.6598, allocations: 5.5 kB / 0.9588 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.66, allocations: 93.53 kB / 0.9589 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.66, allocations: 4 kB / 0.9589 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.6601, allocations: 4.969 kB / 0.9589 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-06/0.6601, allocations: 1.469 kB / 0.9589 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.6602, allocations: 50.19 kB / 0.959 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.6607, allocations: 320.6 kB / 0.9593 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.6609, allocations: 72.08 kB / 0.9593 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.661, allocations: 47.7 kB / 0.9594 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.661, allocations: 4.984 kB / 0.9594 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.6612, allocations: 98.89 kB / 0.9595 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.6613, allocations: 0 / 0.9595 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004753/0.6617, allocations: 197.8 kB / 0.9597 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.6618, allocations: 57.38 kB / 0.9597 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.6619, allocations: 130.9 kB / 0.9599 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.6619, allocations: 31.86 kB / 0.9599 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.6619, allocations: 88.31 kB / 0.96 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.6619, allocations: 21.48 kB / 0.96 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.662, allocations: 20.38 kB / 0.96 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.662, allocations: 324 kB / 0.9603 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.519e-05/0.6621, allocations: 39.14 kB / 0.9604 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.982e-05/0.6622, allocations: 72.61 kB / 0.9604 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.6624, allocations: 113.9 kB / 0.9605 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.6624, allocations: 1.438 kB / 0.9605 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002787/0.6627, allocations: 152.4 kB / 0.9607 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.6627, allocations: 5.5 kB / 0.9607 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6628, allocations: 6.688 kB / 0.9607 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.6628, allocations: 5.375 kB / 0.9607 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.6629, allocations: 13.75 kB / 0.9607 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.6629, allocations: 9.297 kB / 0.9607 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.663, allocations: 18.88 kB / 0.9607 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.663, allocations: 8.125 kB / 0.9608 GB, free: 3.43 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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 9.387e-05/0.6631, allocations: 122.1 kB / 0.9609 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.6631, allocations: 8.031 kB / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.973e-05/0.6632, allocations: 13.73 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.6632, allocations: 1.375 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.6632, allocations: 1.375 kB / 0.9609 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.6632, allocations: 4 kB / 0.9609 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.6637, allocations: 438.4 kB / 0.9613 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6637, allocations: 1.375 kB / 0.9613 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.6638, allocations: 12.05 kB / 0.9613 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.6638, allocations: 1.375 kB / 0.9613 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.6638, allocations: 1.375 kB / 0.9613 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6638, allocations: 4.469 kB / 0.9613 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6638, allocations: 3.938 kB / 0.9613 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.6642, allocations: 254.9 kB / 0.9616 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.568e-05/0.6642, allocations: 87.7 kB / 0.9617 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.6643, allocations: 9.359 kB / 0.9617 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.6644, allocations: 8.125 kB / 0.9617 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.6645, allocations: 12.05 kB / 0.9617 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.6645, allocations: 2.75 kB / 0.9617 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.599e-05/0.6645, allocations: 99.14 kB / 0.9618 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6645, allocations: 0 / 0.9618 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003261/0.6649, allocations: 43.61 kB / 0.9618 GB, free: 2.465 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: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0003682/0.6652, allocations: 156.6 kB / 0.962 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002854/0.6655, allocations: 102.2 kB / 0.9621 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6655, allocations: 0 / 0.9621 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.6657, allocations: 61.59 kB / 0.9621 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.666, allocations: 6.125 kB / 0.9621 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.6665, allocations: 257.8 kB / 0.9624 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.6667, allocations: 0.6924 MB / 0.9631 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.6667, allocations: 11.53 kB / 0.9631 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of SimCode: time 4.4e-07/0.6667, allocations: 0 / 0.9631 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.004195/0.6709, allocations: 1.765 MB / 0.9648 GB, free: 448 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches