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.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.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.001647/0.001647, 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.002141/0.002141, allocations: 201.4 kB / 16.14 MB, free: 6.648 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.36/1.36, 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.311/2.311, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.89 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.65, allocations: 140.4 MB / 0.9489 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002477/0.6525, allocations: 1.563 MB / 0.9504 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.6537, allocations: 0.7529 MB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.6538, allocations: 1.219 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.6538, allocations: 3.938 kB / 0.9512 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.496e-05/0.6539, allocations: 17.38 kB / 0.9512 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.6544, allocations: 101.5 kB / 0.9513 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.6545, allocations: 86.02 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.6546, allocations: 17.39 kB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.473e-05/0.6547, allocations: 49.23 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.6548, allocations: 41.58 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.6548, allocations: 4 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.655, allocations: 86.44 kB / 0.9516 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.655, allocations: 20.03 kB / 0.9516 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.6551, allocations: 38.8 kB / 0.9516 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.6553, allocations: 154.3 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6553, allocations: 0 / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6553, allocations: 1.312 kB / 0.9518 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.6553, allocations: 0 / 0.9518 GB, free: 7.008 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.000522/0.6558, allocations: 461.8 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6559, allocations: 9.531 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.6559, allocations: 8.969 kB / 0.9522 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.656, allocations: 176.8 kB / 0.9524 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.656, allocations: 8.344 kB / 0.9524 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.6561, allocations: 17.55 kB / 0.9524 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.6563, allocations: 91.27 kB / 0.9525 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.6563, allocations: 3.938 kB / 0.9525 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.6563, allocations: 4 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6563, allocations: 1.594 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.6565, allocations: 49.27 kB / 0.9526 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.6569, allocations: 322.1 kB / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.6571, allocations: 65.8 kB / 0.9529 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.6572, allocations: 40.53 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.6572, allocations: 1.5 kB / 0.953 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.6575, allocations: 94.23 kB / 0.9531 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.6575, allocations: 1.5 kB / 0.9531 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000468/0.658, allocations: 187.7 kB / 0.9532 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.658, allocations: 58.28 kB / 0.9533 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.6581, allocations: 123.8 kB / 0.9534 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.6581, allocations: 31.2 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.863e-05/0.6581, allocations: 102.8 kB / 0.9535 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.6582, allocations: 19.88 kB / 0.9536 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.6582, allocations: 36.42 kB / 0.9536 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.165e-05/0.6583, allocations: 324 kB / 0.9539 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.6584, allocations: 24.8 kB / 0.9539 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.6585, allocations: 78.14 kB / 0.954 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.6586, allocations: 108.7 kB / 0.9541 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6587, allocations: 4 kB / 0.9541 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002296/0.6589, allocations: 132 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.6589, allocations: 5.594 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.6589, allocations: 1.406 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6589, allocations: 2.688 kB / 0.9542 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.986e-05/0.659, allocations: 20.08 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.659, allocations: 2.281 kB / 0.9543 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.6591, allocations: 25.11 kB / 0.9543 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.6591, allocations: 3.906 kB / 0.9543 GB, free: 4.633 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 6.971e-05/0.6592, allocations: 124.7 kB / 0.9544 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.6592, allocations: 7.906 kB / 0.9544 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.6593, allocations: 6.75 kB / 0.9544 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6593, allocations: 1.031 kB / 0.9544 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.6593, allocations: 0 / 0.9544 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6593, allocations: 11.92 kB / 0.9544 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.6597, allocations: 438.5 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6597, allocations: 0 / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.6598, allocations: 3.469 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6598, allocations: 1.281 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.6598, allocations: 5.328 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6598, allocations: 0 / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.6598, allocations: 3.938 kB / 0.9549 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.6601, allocations: 254.1 kB / 0.9551 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.6602, allocations: 88.08 kB / 0.9552 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.6602, allocations: 4 kB / 0.9552 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.784e-05/0.6603, allocations: 8.109 kB / 0.9552 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.6604, allocations: 11.25 kB / 0.9552 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.6604, allocations: 6.047 kB / 0.9552 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.038e-05/0.6604, allocations: 96.7 kB / 0.9553 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6604, allocations: 5.094 kB / 0.9553 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003124/0.6607, allocations: 39.31 kB / 0.9554 GB, free: 3.668 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.000323/0.6611, allocations: 159 kB / 0.9555 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.6613, allocations: 104.5 kB / 0.9556 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.6613, allocations: 0 / 0.9556 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.6615, allocations: 45.7 kB / 0.9557 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.6618, allocations: 14.8 kB / 0.9557 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.6622, allocations: 215.8 kB / 0.9559 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.6623, allocations: 0.6905 MB / 0.9566 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.6623, allocations: 4.938 kB / 0.9566 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.6624, allocations: 14.83 kB / 0.9566 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.6624, allocations: 0 / 0.9566 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of Templates: time 0.00405/0.6664, allocations: 1.604 MB / 0.9581 GB, free: 1.754 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