Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001261/0.001261, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001242/0.001242, allocations: 195.9 kB / 16.91 MB, free: 6.195 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.683/2.683, allocations: 469.8 MB / 0.7427 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001897, allocations: 60.09 kB / 0.9087 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3448, allocations: 159.2 MB / 1.064 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002918/0.3478, allocations: 1.556 MB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3492, allocations: 0.7518 MB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.3492, allocations: 4 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.3493, allocations: 3.938 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.3494, allocations: 7.922 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.3499, allocations: 119.8 kB / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.3501, allocations: 87.78 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.3502, allocations: 7.984 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.3503, allocations: 43.84 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.3503, allocations: 51.77 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3504, allocations: 8 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3506, allocations: 95.91 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.115e-05/0.3506, allocations: 27.91 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.3507, allocations: 35.84 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.3509, allocations: 116 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3509, allocations: 0 / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3509, allocations: 0 / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3509, allocations: 0 / 1.067 GB, free: 12.25 MB / 0.8419 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.0007223/0.3516, allocations: 458.5 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3517, allocations: 8.031 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.3517, allocations: 8.922 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.3519, allocations: 180.1 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.352, allocations: 8.375 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.352, allocations: 8.375 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.3522, allocations: 89.94 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3523, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3523, allocations: 3.938 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3523, allocations: 0 / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.3525, allocations: 55.89 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.3531, allocations: 324.7 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.3533, allocations: 62.64 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.3534, allocations: 52.77 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3534, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.3537, allocations: 95.36 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3537, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0005212/0.3542, allocations: 185.5 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3543, allocations: 55.41 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.3544, allocations: 129.7 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3544, allocations: 29.7 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.388e-05/0.3545, allocations: 92.38 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.3545, allocations: 19.8 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.3546, allocations: 37.64 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3548, allocations: 322.7 kB / 1.069 GB, free: 9.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.3548, allocations: 31.97 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.355, allocations: 73.94 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.3552, allocations: 109.9 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3552, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002774/0.3555, allocations: 145.4 kB / 1.069 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3555, allocations: 4 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3555, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3555, allocations: 4 kB / 1.069 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.3556, allocations: 16.14 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.3556, allocations: 8 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.3557, allocations: 8.281 kB / 1.069 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3557, allocations: 4 kB / 1.069 GB, free: 9.395 MB / 0.8419 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 0.0001246/0.3559, allocations: 139.5 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.3559, allocations: 7.906 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.356, allocations: 12.31 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.356, allocations: 0 / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.356, allocations: 8 kB / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.356, allocations: 0 / 1.07 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.3566, allocations: 426.5 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3566, allocations: 4 kB / 1.07 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.3566, allocations: 3.984 kB / 1.07 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3567, allocations: 4 kB / 1.07 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.3567, allocations: 4 kB / 1.07 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3567, allocations: 7.922 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3567, allocations: 8.031 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.3571, allocations: 247.3 kB / 1.07 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.3571, allocations: 85 kB / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3572, allocations: 4 kB / 1.07 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.936e-05/0.3573, allocations: 4 kB / 1.07 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.3573, allocations: 11.92 kB / 1.07 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.3573, allocations: 4 kB / 1.07 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.532e-05/0.3574, allocations: 102.1 kB / 1.071 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3574, allocations: 0 / 1.071 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003223/0.3578, allocations: 47.98 kB / 1.071 GB, free: 8.191 MB / 0.8419 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.0003928/0.3582, allocations: 161.7 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.3585, allocations: 99.83 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3585, allocations: 0 / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3586, allocations: 51.97 kB / 1.071 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3589, allocations: 20.53 kB / 1.071 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004923/0.3594, allocations: 241.7 kB / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3598, allocations: 0.6961 MB / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.3598, allocations: 11.44 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3598, allocations: 4 kB / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of Templates: time 0.004201/0.364, allocations: 1.784 MB / 1.074 GB, free: 5.082 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches