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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006476/0.006476, allocations: 102.1 kB / 15.73 MB, free: 6.465 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.001295/0.001295, allocations: 189.4 kB / 16.67 MB, free: 6.379 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 461.9 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 59.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.35, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002695/0.3527, allocations: 1.495 MB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.354, allocations: 0.7482 MB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.3541, allocations: 0 / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.3542, allocations: 3.938 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.772e-05/0.3542, allocations: 23.73 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.3548, allocations: 131.6 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000141/0.355, allocations: 91.75 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.3551, allocations: 8 kB / 1.21 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.3552, allocations: 43.84 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.3553, allocations: 51.75 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3553, allocations: 8 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.3555, allocations: 99.84 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.74e-05/0.3555, allocations: 15.98 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.919e-05/0.3556, allocations: 43.78 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.3558, allocations: 155.6 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3559, allocations: 3.938 kB / 1.211 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.42e-07/0.3559, allocations: 0 / 1.211 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.3559, allocations: 0 / 1.211 GB, free: 6.738 MB / 0.9669 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.0006701/0.3566, allocations: 462.5 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3566, allocations: 8.625 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.3567, allocations: 8.844 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3568, allocations: 176.2 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.3568, allocations: 8.375 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3569, allocations: 8.375 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.3571, allocations: 89.94 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3571, allocations: 0 / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3571, allocations: 0 / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3571, allocations: 0 / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.3573, allocations: 51.91 kB / 1.211 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.3578, allocations: 328.7 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.358, allocations: 58.66 kB / 1.212 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.3581, allocations: 52.77 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3582, allocations: 0 / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.3584, allocations: 103.3 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.3584, allocations: 0 / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004713/0.3589, allocations: 185.5 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.3589, allocations: 55.41 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.359, allocations: 136.4 kB / 1.212 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3591, allocations: 25.7 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.832e-05/0.3591, allocations: 96.38 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.3591, allocations: 19.8 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.3592, allocations: 37.64 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3593, allocations: 318.8 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.3594, allocations: 31.97 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.3595, allocations: 81.88 kB / 1.213 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3597, allocations: 105.9 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3597, allocations: 4 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002648/0.36, allocations: 149.3 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.36, allocations: 4 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.36, allocations: 0 / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.36, allocations: 4 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.3601, allocations: 15.98 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3602, allocations: 4 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.489e-05/0.3602, allocations: 8.156 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.3602, allocations: 8 kB / 1.213 GB, free: 3.867 MB / 0.9669 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.0001005/0.3604, allocations: 133.6 kB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.3604, allocations: 7.906 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.3604, allocations: 8.375 kB / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3604, allocations: 0 / 1.213 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3604, allocations: 4 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3604, allocations: 4 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.361, allocations: 434.4 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.361, allocations: 0 / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.361, allocations: 7.984 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3611, allocations: 4 kB / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.3611, allocations: 0 / 1.214 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.3611, allocations: 8.391 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3611, allocations: 3.938 kB / 1.214 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.3614, allocations: 251.3 kB / 1.214 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.3615, allocations: 77.11 kB / 1.214 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.3615, allocations: 11.98 kB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.3616, allocations: 3.938 kB / 1.214 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.3617, allocations: 11.92 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.3617, allocations: 8 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.426e-05/0.3618, allocations: 95.27 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3618, allocations: 4 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003183/0.3621, allocations: 47.89 kB / 1.214 GB, free: 2.66 MB / 0.9669 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.00034/0.3624, allocations: 171.2 kB / 1.214 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.3627, allocations: 91.89 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3627, allocations: 0 / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3628, allocations: 56 kB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.3631, allocations: 8.188 kB / 1.214 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004571/0.3636, allocations: 200.2 kB / 1.215 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3639, allocations: 0.6926 MB / 1.215 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.73e-05/0.3639, allocations: 7.984 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.3639, allocations: 11.44 kB / 1.215 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3639, allocations: 0 / 1.215 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of Templates: time 0.004286/0.3682, allocations: 1.747 MB / 1.217 GB, free: 15.66 MB / 0.9825 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