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.01029/0.01029, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.002145/0.002145, allocations: 186.5 kB / 16.67 MB, free: 5.422 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.67/1.67, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 63.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9184/0.92, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002715/0.9227, allocations: 1.492 MB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.924, allocations: 0.7494 MB / 1.09 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.794e-05/0.9241, allocations: 5.094 kB / 1.09 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/0.9241, allocations: 5.109 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.034e-05/0.9242, allocations: 14.28 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.9248, allocations: 132.8 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.9249, allocations: 89.08 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.925, allocations: 15.25 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.9252, allocations: 44.59 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.117e-05/0.9252, allocations: 42.92 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.9253, allocations: 8.094 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.9255, allocations: 100.9 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.9255, allocations: 23.88 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.9256, allocations: 37.61 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.9259, allocations: 159.3 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9259, allocations: 0.7969 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9259, allocations: 0 / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.9259, allocations: 0 / 1.091 GB, free: 3.676 MB / 0.8575 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.0005714/0.9265, allocations: 449.6 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.9265, allocations: 9.688 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.9266, allocations: 14.94 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.071e-05/0.9267, allocations: 185.5 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.9267, allocations: 8.141 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.9268, allocations: 10.2 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.927, allocations: 89.78 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.927, allocations: 0 / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.927, allocations: 1.484 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.927, allocations: 0.9688 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.9272, allocations: 49.23 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.9277, allocations: 327.8 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.9279, allocations: 60.66 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.928, allocations: 45.36 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.9281, allocations: 2.156 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.9283, allocations: 100.5 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.562e-06/0.9283, allocations: 0 / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004905/0.9288, allocations: 187.7 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.9289, allocations: 55.84 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.9289, allocations: 130.5 kB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.929, allocations: 27.78 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.929, allocations: 97.22 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.929, allocations: 24.98 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.9291, allocations: 34.73 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.9291, allocations: 324.6 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.9292, allocations: 29 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.9293, allocations: 69.95 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.9295, allocations: 110.9 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9296, allocations: 0 / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002669/0.9298, allocations: 134.3 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.9299, allocations: 6.219 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.9299, allocations: 2.391 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.9299, allocations: 3 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.93, allocations: 21.86 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.93, allocations: 2.406 kB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.9301, allocations: 14.69 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.9301, allocations: 8.688 kB / 1.093 GB, free: 1.504 MB / 0.8575 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 8.1e-05/0.9302, allocations: 131.3 kB / 1.093 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.9302, allocations: 9.016 kB / 1.093 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.9303, allocations: 14.55 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.9303, allocations: 1.578 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9303, allocations: 0.7812 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.9303, allocations: 1.547 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.9308, allocations: 429.3 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.9308, allocations: 0.9375 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.9309, allocations: 5.391 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.9309, allocations: 9.031 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.9309, allocations: 7.219 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.9309, allocations: 1.594 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.9309, allocations: 7.938 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.9313, allocations: 252.5 kB / 1.094 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.9313, allocations: 83.94 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.9313, allocations: 3 kB / 1.094 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.9314, allocations: 8.422 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.9315, allocations: 9.5 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.9315, allocations: 5.172 kB / 1.094 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.9315, allocations: 97.7 kB / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9315, allocations: 0 / 1.094 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003402/0.9319, allocations: 46.14 kB / 1.094 GB, free: 0.6133 MB / 0.8575 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.0003456/0.9322, allocations: 165 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.9325, allocations: 93.86 kB / 1.095 GB, free: 484 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9325, allocations: 4.062 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.9327, allocations: 49 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.933, allocations: 13.94 kB / 1.095 GB, free: 460 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.9334, allocations: 202.4 kB / 1.095 GB, free: 300 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.9337, allocations: 0.6937 MB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.29e-05/0.9337, allocations: 6.25 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.9337, allocations: 15.88 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.9337, allocations: 0 / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.004925/0.9387, allocations: 1.706 MB / 1.097 GB, free: 15.42 MB / 0.8731 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