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.00135/0.00135, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001284/0.001284, allocations: 187 kB / 17.34 MB, free: 5.719 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.09 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.321/2.321, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 63.89 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8675/0.8688, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002671/0.8715, allocations: 1.514 MB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001238/0.8727, allocations: 0.7442 MB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.531e-05/0.8728, allocations: 1.188 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.8729, allocations: 5.25 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.931e-05/0.873, allocations: 19.39 kB / 1.091 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.8735, allocations: 130.9 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.8736, allocations: 93.92 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.8737, allocations: 12.64 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.8738, allocations: 37.95 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.097e-05/0.8739, allocations: 44.62 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.874, allocations: 7.625 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.8742, allocations: 105.7 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.8742, allocations: 19.58 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.8743, allocations: 45.58 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.8745, allocations: 150.8 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.8745, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8746, allocations: 0.6562 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.8746, allocations: 1.438 kB / 1.091 GB, free: 3.68 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.0005178/0.8751, allocations: 449 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.8751, allocations: 13.8 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.8752, allocations: 9.922 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.936e-05/0.8753, allocations: 178 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.8753, allocations: 8 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.8753, allocations: 6.266 kB / 1.092 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.8756, allocations: 89.42 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.8756, allocations: 0.8125 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.8756, allocations: 1.469 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.8756, allocations: 4.656 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.8758, allocations: 53.61 kB / 1.092 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.8763, allocations: 327.9 kB / 1.093 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.8765, allocations: 64.16 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.8766, allocations: 41.89 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.8766, allocations: 10.27 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.8768, allocations: 91.44 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.8768, allocations: 0.7812 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0004962/0.8773, allocations: 183.5 kB / 1.093 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.8773, allocations: 55.17 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.8774, allocations: 138.7 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.8775, allocations: 27.27 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.8775, allocations: 97.28 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.8775, allocations: 24.94 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.8776, allocations: 32.02 kB / 1.093 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.8776, allocations: 324.2 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.8777, allocations: 28.33 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.8778, allocations: 77.75 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.878, allocations: 111.3 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.878, allocations: 0.6875 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002646/0.8783, allocations: 137.9 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.8783, allocations: 6.484 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8783, allocations: 1.5 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8784, allocations: 3.156 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.8785, allocations: 17.91 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.8785, allocations: 4.078 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.596e-05/0.8785, allocations: 13.88 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.8786, allocations: 4.625 kB / 1.094 GB, free: 1.512 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 7.605e-05/0.8786, allocations: 130.3 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.8787, allocations: 7.719 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.8787, allocations: 10.94 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.8787, allocations: 10.2 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8787, allocations: 0.8125 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8787, allocations: 0.7969 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.8792, allocations: 429.1 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.8792, allocations: 0.75 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.902e-05/0.8793, allocations: 10.28 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8793, allocations: 0 / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.8793, allocations: 7.719 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.8793, allocations: 4.562 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8793, allocations: 4.5 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.8797, allocations: 248.9 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.8797, allocations: 84.41 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.8797, allocations: 1.984 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.712e-05/0.8798, allocations: 9.281 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.8799, allocations: 13.02 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.8799, allocations: 9.078 kB / 1.095 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.88, allocations: 94.56 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.88, allocations: 0 / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003415/0.8803, allocations: 46.62 kB / 1.095 GB, free: 0.6172 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.000333/0.8807, allocations: 169.9 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.881, allocations: 92.94 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.881, allocations: 0.6875 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.8811, allocations: 44.97 kB / 1.095 GB, free: 476 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.8814, allocations: 20.91 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.8819, allocations: 232.2 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.8821, allocations: 0.6948 MB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.8821, allocations: 12.41 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.8821, allocations: 0 / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of Templates: time 0.00448/0.8866, allocations: 1.776 MB / 1.098 GB, free: 15.39 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/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