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.001052/0.001052, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.009002/0.009002, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.504/1.504, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.848/2.848, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003797, allocations: 9.375 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3521, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.00191/0.354, allocations: 1.225 MB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3557, allocations: 0.7478 MB / 1.061 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.3558, allocations: 4 kB / 1.061 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.771e-05/0.3558, allocations: 4 kB / 1.061 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.834e-05/0.3559, allocations: 15.84 kB / 1.061 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.3565, allocations: 103.8 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3566, allocations: 87.77 kB / 1.061 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.3567, allocations: 12 kB / 1.061 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.515e-05/0.3568, allocations: 35.84 kB / 1.061 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.3569, allocations: 39.83 kB / 1.061 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3569, allocations: 4 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.3571, allocations: 95.84 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.3571, allocations: 19.91 kB / 1.061 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.875e-05/0.3572, allocations: 65.55 kB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.3575, allocations: 143.9 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3575, allocations: 3.938 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3575, allocations: 0 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3575, allocations: 4 kB / 1.061 GB, free: 2.895 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.0006221/0.3581, allocations: 438.7 kB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001088/0.3582, allocations: 12.03 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.3583, allocations: 8.844 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3584, allocations: 187.7 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.3585, allocations: 8.375 kB / 1.062 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.3585, allocations: 4.375 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.3588, allocations: 97.94 kB / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3588, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.3588, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3588, allocations: 0 / 1.062 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.359, allocations: 59.91 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.3595, allocations: 324.7 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3597, allocations: 66.55 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.3598, allocations: 48.84 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3599, allocations: 0 / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.3601, allocations: 107.2 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.914e-06/0.3601, allocations: 0 / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004915/0.3606, allocations: 193.5 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.3606, allocations: 59.39 kB / 1.063 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3608, allocations: 125.8 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.3608, allocations: 29.7 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.3608, allocations: 96.5 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3609, allocations: 15.81 kB / 1.063 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.3609, allocations: 21.7 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.361, allocations: 330.8 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.192e-05/0.3611, allocations: 35.92 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3613, allocations: 77.86 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.3615, allocations: 109.9 kB / 1.064 GB, free: 220 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3615, allocations: 8 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003415/0.3618, allocations: 145.3 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3618, allocations: 4 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.3619, allocations: 0 / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3619, allocations: 7.938 kB / 1.064 GB, free: 48 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.362, allocations: 20.14 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.362, allocations: 4 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.3621, allocations: 4.094 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3621, allocations: 11.98 kB / 1.064 GB, free: 8 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 (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.0001379/0.3622, allocations: 134.1 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.3623, allocations: 7.906 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.3623, allocations: 16.38 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3623, allocations: 0 / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3623, allocations: 0 / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3623, allocations: 3.984 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.3629, allocations: 446.5 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3629, allocations: 0 / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.363, allocations: 8 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.363, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.363, allocations: 3.984 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.363, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3631, allocations: 3.938 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.3634, allocations: 251.3 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.065e-05/0.3635, allocations: 89.09 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3635, allocations: 0 / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.851e-05/0.3636, allocations: 4 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.3637, allocations: 11.92 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3637, allocations: 11.94 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001329/0.3638, allocations: 99.25 kB / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3638, allocations: 0 / 1.065 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003203/0.3642, allocations: 39.91 kB / 1.065 GB, free: 14.8 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 (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.0003529/0.3645, allocations: 173.3 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.3648, allocations: 88.2 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3648, allocations: 7.938 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.3649, allocations: 55.97 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.3652, allocations: 14.8 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.3657, allocations: 229 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.3659, allocations: 0.6965 MB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.3659, allocations: 12.16 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.366, allocations: 11.44 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3661, allocations: 4 kB / 1.066 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of Templates: time 0.004537/0.3706, allocations: 1.596 MB / 1.068 GB, free: 11.89 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