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.001434/0.001434, allocations: 116.6 kB / 16.37 MB, free: 6 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.001461/0.001461, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.188/2.188, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.81 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2614, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003202/0.2646, allocations: 1.497 MB / 0.9526 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.266, allocations: 0.7517 MB / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.266, allocations: 0 / 0.9533 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.159e-05/0.2661, allocations: 3.938 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.2662, allocations: 15.84 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.2667, allocations: 131.5 kB / 0.9535 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.2669, allocations: 91.83 kB / 0.9536 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.267, allocations: 4 kB / 0.9536 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.64e-05/0.2671, allocations: 55.77 kB / 0.9536 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.2671, allocations: 51.75 kB / 0.9537 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.2672, allocations: 8 kB / 0.9537 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.2674, allocations: 91.86 kB / 0.9538 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.854e-05/0.2674, allocations: 27.91 kB / 0.9538 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.2675, allocations: 35.86 kB / 0.9538 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.2677, allocations: 159.5 kB / 0.954 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2677, allocations: 0 / 0.954 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2677, allocations: 0 / 0.954 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.2678, allocations: 0 / 0.954 GB, free: 5.156 MB / 0.7325 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.0006684/0.2684, allocations: 466.5 kB / 0.9544 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2685, allocations: 8.031 kB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.2685, allocations: 8.844 kB / 0.9544 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.2687, allocations: 172.3 kB / 0.9546 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.2687, allocations: 12.31 kB / 0.9546 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.2687, allocations: 16.36 kB / 0.9546 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.2689, allocations: 81.95 kB / 0.9547 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.269, allocations: 0 / 0.9547 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.269, allocations: 4 kB / 0.9547 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.269, allocations: 3.984 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.2691, allocations: 47.97 kB / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.2697, allocations: 324.5 kB / 0.9551 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.2698, allocations: 70.55 kB / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.27, allocations: 40.84 kB / 0.9552 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.27, allocations: 0 / 0.9552 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.2702, allocations: 99.55 kB / 0.9553 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.2702, allocations: 0 / 0.9553 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004524/0.2706, allocations: 193.4 kB / 0.9555 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.2707, allocations: 59.39 kB / 0.9555 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.833e-05/0.2708, allocations: 121.8 kB / 0.9556 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.2708, allocations: 29.7 kB / 0.9557 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.2709, allocations: 108.2 kB / 0.9558 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.2709, allocations: 11.81 kB / 0.9558 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.271, allocations: 41.64 kB / 0.9558 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2711, allocations: 322.8 kB / 0.9561 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.2712, allocations: 23.98 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2713, allocations: 80.52 kB / 0.9562 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.2715, allocations: 113.8 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2715, allocations: 4 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002376/0.2717, allocations: 129.4 kB / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2718, allocations: 4 kB / 0.9565 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2718, allocations: 0 / 0.9565 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2718, allocations: 4 kB / 0.9565 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2719, allocations: 19.92 kB / 0.9565 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2719, allocations: 4 kB / 0.9565 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.272, allocations: 20.05 kB / 0.9565 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.272, allocations: 4 kB / 0.9565 GB, free: 2.281 MB / 0.7325 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.926e-05/0.2721, allocations: 133.7 kB / 0.9566 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.2721, allocations: 7.906 kB / 0.9566 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.2722, allocations: 4.375 kB / 0.9566 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2722, allocations: 0 / 0.9566 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2722, allocations: 4 kB / 0.9566 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2722, allocations: 3.984 kB / 0.9566 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.2727, allocations: 434.4 kB / 0.9571 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2727, allocations: 0 / 0.9571 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.2728, allocations: 4 kB / 0.9571 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2728, allocations: 4 kB / 0.9571 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.2728, allocations: 3.984 kB / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2728, allocations: 480 / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2728, allocations: 3.938 kB / 0.9571 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.2732, allocations: 259.3 kB / 0.9573 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.2732, allocations: 81.02 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.2733, allocations: 8 kB / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.2734, allocations: 3.984 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.2734, allocations: 11.94 kB / 0.9574 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2734, allocations: 7.984 kB / 0.9574 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.2735, allocations: 99.14 kB / 0.9575 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2735, allocations: 7.938 kB / 0.9575 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003042/0.2738, allocations: 40 kB / 0.9576 GB, free: 1.082 MB / 0.7325 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.0003627/0.2742, allocations: 172.8 kB / 0.9577 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002632/0.2745, allocations: 96 kB / 0.9578 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2745, allocations: 0 / 0.9578 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.2746, allocations: 51.95 kB / 0.9579 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.2749, allocations: 11.98 kB / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.2753, allocations: 191.7 kB / 0.9581 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.2757, allocations: 0.6926 MB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.5e-05/0.2757, allocations: 4 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.862e-05/0.2757, allocations: 19.42 kB / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/0.2757, allocations: 0 / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.004395/0.2801, allocations: 1.691 MB / 0.9604 GB, free: 14.12 MB / 0.7481 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 -s cvode -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