Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009223/0.0009224, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009401/0.0009405, allocations: 172.7 kB / 15.95 MB, free: 208 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.62/1.62, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.896/2.896, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003417, allocations: 13.34 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3493, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002104/0.3514, allocations: 1.206 MB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.3529, allocations: 0.6976 MB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.353, allocations: 3.938 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.353, allocations: 0 / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.457e-05/0.3531, allocations: 15.86 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00066/0.3538, allocations: 103.8 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3539, allocations: 75.78 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3541, allocations: 11.98 kB / 1.06 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3542, allocations: 39.84 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.3543, allocations: 35.89 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.3543, allocations: 11.94 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.3546, allocations: 83.91 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.3547, allocations: 19.91 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.3547, allocations: 37.7 kB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.355, allocations: 108 kB / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3551, allocations: 0 / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.464e-06/0.3551, allocations: 0 / 1.06 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3551, allocations: 0 / 1.06 GB, free: 2.891 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.000895/0.356, allocations: 458.3 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.356, allocations: 8.031 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.3561, allocations: 11.91 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.3563, allocations: 171.1 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.3564, allocations: 4 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.3564, allocations: 7.953 kB / 1.061 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.3567, allocations: 89.62 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3567, allocations: 7.938 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.3567, allocations: 4 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3567, allocations: 0 / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.3569, allocations: 51.97 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.3575, allocations: 332.6 kB / 1.061 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3577, allocations: 66.59 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.3578, allocations: 48.83 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.3579, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.3581, allocations: 95.36 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3581, allocations: 4 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004849/0.3586, allocations: 193.5 kB / 1.062 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.3587, allocations: 63.55 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.3588, allocations: 124.7 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3588, allocations: 33.7 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.3589, allocations: 88.28 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.3589, allocations: 20.17 kB / 1.062 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.3589, allocations: 4 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.359, allocations: 326.8 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.3591, allocations: 43.86 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.3592, allocations: 73.92 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.3594, allocations: 39.98 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3594, allocations: 0 / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000263/0.3596, allocations: 145.4 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3597, allocations: 5.719 kB / 1.063 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3597, allocations: 8 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3597, allocations: 0 / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3598, allocations: 15.98 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3598, allocations: 7.938 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.699e-05/0.3599, allocations: 15.91 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.36, allocations: 7.984 kB / 1.063 GB, free: 116 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.0001308/0.3601, allocations: 127.6 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/0.3601, allocations: 7.906 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.3602, allocations: 12.38 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3602, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3602, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3602, allocations: 3.984 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.3608, allocations: 442.3 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3608, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.3608, allocations: 8 kB / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3608, allocations: 0 / 1.063 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3609, allocations: 3.984 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3609, allocations: 0 / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3609, allocations: 3.938 kB / 1.063 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.3613, allocations: 255.4 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.3613, allocations: 89 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3614, allocations: 0 / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.3615, allocations: 7.938 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.3615, allocations: 8.172 kB / 1.064 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.3615, allocations: 11.98 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.916e-05/0.3616, allocations: 95.2 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3616, allocations: 4 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003456/0.362, allocations: 40 kB / 1.064 GB, free: 14.91 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.0003599/0.3623, allocations: 165.1 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.3626, allocations: 95.83 kB / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3626, allocations: 0 / 1.064 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3628, allocations: 59.89 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.3631, allocations: 25.77 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004685/0.3635, allocations: 221.3 kB / 1.064 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3638, allocations: 0.6926 MB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.491e-05/0.3639, allocations: 12.17 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.3639, allocations: 11.44 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3639, allocations: 3.938 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of Templates: time 0.004448/0.3684, allocations: 1.565 MB / 1.067 GB, free: 12.05 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches