Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001416/0.001416, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00154/0.00154, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 7.969 kB / 0.9021 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3605, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001783/0.3623, allocations: 1.217 MB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3635, allocations: 0.6976 MB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.3636, allocations: 0 / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.3636, allocations: 3.938 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.346e-05/0.3637, allocations: 15.91 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.3641, allocations: 99.77 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001148/0.3643, allocations: 83.7 kB / 1.06 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.986e-05/0.3644, allocations: 4 kB / 1.06 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.732e-05/0.3645, allocations: 39.91 kB / 1.06 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.42e-05/0.3645, allocations: 47.83 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3646, allocations: 4 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.3648, allocations: 79.84 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.3649, allocations: 15.98 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.3649, allocations: 41.64 kB / 1.06 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.3651, allocations: 115.9 kB / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3651, allocations: 0 / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3651, allocations: 0 / 1.06 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.3651, allocations: 0 / 1.06 GB, free: 2.887 MB / 0.8106 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.0005855/0.3657, allocations: 446.5 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3658, allocations: 12.03 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.3658, allocations: 7.906 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3659, allocations: 167.1 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.366, allocations: 8 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.366, allocations: 7.953 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3662, allocations: 93.56 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3662, allocations: 4 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3663, allocations: 0 / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3663, allocations: 0 / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.3664, allocations: 55.91 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.367, allocations: 336.5 kB / 1.061 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.3671, allocations: 66.55 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3672, allocations: 44.84 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3673, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.3675, allocations: 107.4 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.552e-06/0.3675, allocations: 0 / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004756/0.368, allocations: 185.5 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.368, allocations: 67.33 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3682, allocations: 125.8 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3682, allocations: 29.7 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.3682, allocations: 96.28 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.3683, allocations: 11.97 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.3683, allocations: 4 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3684, allocations: 322.8 kB / 1.063 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.3685, allocations: 43.91 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3686, allocations: 76.09 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.9e-05/0.3687, allocations: 43.92 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3687, allocations: 0 / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003452/0.3691, allocations: 137.4 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3691, allocations: 8.156 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3691, allocations: 4 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3692, allocations: 0 / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.3693, allocations: 23.92 kB / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3693, allocations: 0 / 1.063 GB, free: 152 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.3693, allocations: 15.91 kB / 1.063 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3694, allocations: 4 kB / 1.063 GB, free: 132 kB / 0.8106 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 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,occ.y,$whenCondition1,bli.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.3695, allocations: 134.3 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.787e-05/0.3695, allocations: 11.84 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.3695, allocations: 8.375 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3696, allocations: 0 / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3696, allocations: 7.875 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3696, allocations: 4 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.3702, allocations: 442.3 kB / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3702, allocations: 0 / 1.063 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.25e-05/0.3702, allocations: 7.984 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3702, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3703, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3703, allocations: 4 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3703, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.3706, allocations: 259.3 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.3707, allocations: 85.02 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.3707, allocations: 3.984 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.3708, allocations: 4 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.399e-05/0.3709, allocations: 15.92 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3709, allocations: 4 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.371, allocations: 97.02 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.371, allocations: 4 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003107/0.3713, allocations: 43.98 kB / 1.064 GB, free: 14.92 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003467/0.3716, allocations: 159.3 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.3719, allocations: 99.83 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3719, allocations: 0 / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.372, allocations: 55.91 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3723, allocations: 15.94 kB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.3728, allocations: 215.4 kB / 1.064 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3731, allocations: 0.6887 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.181e-05/0.3731, allocations: 12.17 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.3732, allocations: 11.44 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3732, allocations: 0 / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.004422/0.3776, allocations: 1.564 MB / 1.067 GB, free: 12.07 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches