Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006364/0.006363, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001569/0.001569, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 437 MB / 0.7105 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 64.12 kB / 1.018 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.837, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002975/0.84, allocations: 1.507 MB / 1.168 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.8414, allocations: 0.744 MB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.8415, allocations: 0 / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.417e-05/0.8416, allocations: 7.875 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.8416, allocations: 19.84 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00059/0.8422, allocations: 123.6 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.8424, allocations: 95.7 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.8425, allocations: 12 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.8426, allocations: 47.83 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.8427, allocations: 43.83 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.8427, allocations: 11.94 kB / 1.169 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.843, allocations: 95.91 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.843, allocations: 19.97 kB / 1.169 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.8431, allocations: 35.8 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.8433, allocations: 156 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.8434, allocations: 3.984 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8434, allocations: 4 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.8434, allocations: 0 / 1.169 GB, free: 0.9766 MB / 0.8887 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.0006513/0.844, allocations: 462.3 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.8441, allocations: 8.922 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.8441, allocations: 16.89 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.8443, allocations: 188.2 kB / 1.17 GB, free: 224 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.8443, allocations: 4.375 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.8444, allocations: 12.36 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.8446, allocations: 101.8 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8446, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.8446, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.8446, allocations: 4 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.8448, allocations: 43.97 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005855/0.8454, allocations: 316.7 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.8456, allocations: 70.58 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.8457, allocations: 44.84 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.8458, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.846, allocations: 91.34 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.846, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005128/0.8465, allocations: 189.5 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.8466, allocations: 63.33 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.8467, allocations: 127.7 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.8467, allocations: 33.69 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.8468, allocations: 88.38 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.8468, allocations: 24 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.8469, allocations: 33.7 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.847, allocations: 326.8 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/0.8471, allocations: 31.92 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.8472, allocations: 69.98 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.8474, allocations: 113.9 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.8475, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002728/0.8477, allocations: 137.4 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.8478, allocations: 4 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.8478, allocations: 8.359 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.8478, allocations: 0 / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.8479, allocations: 19.94 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.8479, allocations: 4 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.848, allocations: 11.92 kB / 1.172 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.848, allocations: 4 kB / 1.172 GB, free: 14.1 MB / 0.9044 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.0001315/0.8482, allocations: 129.9 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/0.8482, allocations: 7.953 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.8482, allocations: 12.36 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8482, allocations: 4.094 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.8482, allocations: 3.984 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8482, allocations: 0 / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.8488, allocations: 434.2 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.8488, allocations: 8 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.8489, allocations: 0 / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8489, allocations: 4 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.8489, allocations: 7.984 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8489, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8489, allocations: 3.938 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.8493, allocations: 251.4 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.8493, allocations: 85.06 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.8494, allocations: 4 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.8495, allocations: 11.98 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.8495, allocations: 3.938 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.8495, allocations: 7.984 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.8496, allocations: 96.77 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8496, allocations: 0 / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000298/0.8499, allocations: 43.92 kB / 1.173 GB, free: 12.9 MB / 0.9044 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.0003256/0.8502, allocations: 178.1 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.8505, allocations: 91.83 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8505, allocations: 0 / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.8507, allocations: 52.23 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.851, allocations: 15.98 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.8514, allocations: 195.5 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.8517, allocations: 0.6885 MB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.8517, allocations: 11.98 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.8517, allocations: 11.44 kB / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8517, allocations: 0 / 1.174 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.004445/0.8562, allocations: 1.716 MB / 1.176 GB, free: 9.918 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches