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.0008649/0.0008648, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000949/0.0009491, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.3 MB / 240 MB, free: 5.406 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.448/2.448, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005799/0.00058, allocations: 8 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7682/0.7688, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001345/0.7702, allocations: 1.205 MB / 0.9556 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009998/0.7712, allocations: 0.7023 MB / 0.9563 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.7713, allocations: 1.25 kB / 0.9563 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.7713, allocations: 3.938 kB / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.835e-05/0.7714, allocations: 18 kB / 0.9563 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.7719, allocations: 101 kB / 0.9564 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.772, allocations: 80.27 kB / 0.9565 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.7721, allocations: 9.203 kB / 0.9565 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.775e-05/0.7722, allocations: 40.73 kB / 0.9565 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.7723, allocations: 37.06 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.7723, allocations: 4.156 kB / 0.9566 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.7725, allocations: 84.84 kB / 0.9567 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.7725, allocations: 24.42 kB / 0.9567 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.7726, allocations: 36.77 kB / 0.9567 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.7727, allocations: 109.9 kB / 0.9568 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7727, allocations: 0 / 0.9568 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7727, allocations: 1.188 kB / 0.9568 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.7727, allocations: 0 / 0.9568 GB, free: 5.887 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.0004679/0.7732, allocations: 446.8 kB / 0.9573 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.7733, allocations: 12.69 kB / 0.9573 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.7733, allocations: 12.83 kB / 0.9573 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.7734, allocations: 181.9 kB / 0.9575 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.347e-05/0.7734, allocations: 5.375 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.7734, allocations: 3.938 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.7737, allocations: 93.03 kB / 0.9575 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.7737, allocations: 1.25 kB / 0.9576 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.7737, allocations: 0 / 0.9576 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.7737, allocations: 1.25 kB / 0.9576 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.7739, allocations: 62.64 kB / 0.9576 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.7744, allocations: 316.4 kB / 0.9579 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.7746, allocations: 67.98 kB / 0.958 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.7747, allocations: 47.16 kB / 0.958 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.7747, allocations: 5.172 kB / 0.958 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.7749, allocations: 100.9 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.7749, allocations: 1.344 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0004709/0.7754, allocations: 195.5 kB / 0.9583 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.7755, allocations: 58.45 kB / 0.9584 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.7755, allocations: 134 kB / 0.9585 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.7756, allocations: 30.8 kB / 0.9585 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.7756, allocations: 92.5 kB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.7756, allocations: 26.61 kB / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.7756, allocations: 0 / 0.9586 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.7757, allocations: 322.1 kB / 0.9589 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.7758, allocations: 33.94 kB / 0.959 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.7759, allocations: 76.78 kB / 0.9591 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.685e-05/0.776, allocations: 41.17 kB / 0.9591 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.776, allocations: 1.469 kB / 0.9591 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002183/0.7762, allocations: 136.2 kB / 0.9592 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.7762, allocations: 6.031 kB / 0.9592 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.7763, allocations: 2.281 kB / 0.9592 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.7763, allocations: 6.297 kB / 0.9592 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.803e-05/0.7764, allocations: 24.52 kB / 0.9593 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.7764, allocations: 6.688 kB / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.268e-05/0.7765, allocations: 13.44 kB / 0.9593 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.7765, allocations: 9.438 kB / 0.9593 GB, free: 3.617 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.69e-05/0.7765, allocations: 128.4 kB / 0.9594 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.7766, allocations: 10.64 kB / 0.9594 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.7766, allocations: 15.12 kB / 0.9594 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7766, allocations: 5.328 kB / 0.9594 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7766, allocations: 0 / 0.9594 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.7766, allocations: 0 / 0.9594 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.7771, allocations: 434.3 kB / 0.9599 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.7771, allocations: 1.375 kB / 0.9599 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.7771, allocations: 12.11 kB / 0.9599 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.7771, allocations: 3.953 kB / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.7771, allocations: 2.75 kB / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7771, allocations: 0 / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7772, allocations: 0 / 0.9599 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002814/0.7774, allocations: 259 kB / 0.9601 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.7775, allocations: 87.7 kB / 0.9602 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.7775, allocations: 9.312 kB / 0.9602 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.7776, allocations: 4.125 kB / 0.9602 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.7776, allocations: 6.734 kB / 0.9602 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.7776, allocations: 6.75 kB / 0.9602 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.7777, allocations: 94.27 kB / 0.9603 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.41e-07/0.7777, allocations: 0 / 0.9603 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003185/0.778, allocations: 47.55 kB / 0.9604 GB, free: 2.648 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002961/0.7783, allocations: 168.6 kB / 0.9605 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.7786, allocations: 97.77 kB / 0.9606 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.7786, allocations: 0 / 0.9606 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.7787, allocations: 52.72 kB / 0.9607 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.779, allocations: 14.58 kB / 0.9607 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003644/0.7793, allocations: 218 kB / 0.9609 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.7795, allocations: 0.697 MB / 0.9616 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.793e-05/0.7795, allocations: 3.438 kB / 0.9616 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/0.7795, allocations: 11.44 kB / 0.9616 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7795, allocations: 4 kB / 0.9616 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of Templates: time 0.00394/0.7835, allocations: 1.561 MB / 0.9631 GB, free: 0.7461 MB / 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/jenkins/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