Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_10_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_10_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.001674/0.001674, allocations: 105.8 kB / 16.41 MB, free: 6.492 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.001548/0.001548, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.529/1.529, allocations: 222.9 MB / 241 MB, free: 15.16 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.694/2.694, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.88 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8655/0.8674, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002767/0.8702, allocations: 1.506 MB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.8716, allocations: 0.7518 MB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.732e-05/0.8717, allocations: 3.938 kB / 1.169 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.8717, allocations: 7.875 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.746e-05/0.8718, allocations: 15.86 kB / 1.17 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005957/0.8724, allocations: 123.6 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.8726, allocations: 95.69 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.8727, allocations: 12 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.594e-05/0.8728, allocations: 39.91 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.8729, allocations: 43.83 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.8729, allocations: 8 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.8731, allocations: 99.84 kB / 1.17 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.8732, allocations: 27.91 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.8732, allocations: 35.8 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.8735, allocations: 160 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.8735, allocations: 0 / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8735, allocations: 0 / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.8735, allocations: 4 kB / 1.17 GB, free: 0.9375 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.0006784/0.8742, allocations: 466.3 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.8743, allocations: 8.922 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.8743, allocations: 8.891 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.8745, allocations: 180.2 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.8745, allocations: 4.375 kB / 1.171 GB, free: 192 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.8745, allocations: 8.375 kB / 1.171 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.8748, allocations: 97.88 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.8748, allocations: 0 / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.8748, allocations: 4 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.8748, allocations: 0 / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.875, allocations: 43.97 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.8756, allocations: 320.7 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.8758, allocations: 74.58 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.8759, allocations: 44.83 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.876, allocations: 4 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002132/0.8762, allocations: 91.3 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.8762, allocations: 0 / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005252/0.8767, allocations: 193.5 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.8768, allocations: 51.41 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.8769, allocations: 134.5 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.8769, allocations: 29.64 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.877, allocations: 92.38 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.8771, allocations: 23.84 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.8771, allocations: 29.7 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.8773, allocations: 326.8 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.8774, allocations: 35.91 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.8775, allocations: 68.25 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.8777, allocations: 113.9 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8777, allocations: 0 / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000283/0.878, allocations: 137.5 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.878, allocations: 8 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8781, allocations: 0 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.8781, allocations: 4 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.8782, allocations: 19.98 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.577e-06/0.8782, allocations: 3.938 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.8783, allocations: 11.94 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/0.8783, allocations: 4 kB / 1.173 GB, free: 14.07 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.0001283/0.8784, allocations: 133.8 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.8785, allocations: 3.953 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.8785, allocations: 12.38 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8785, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8785, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8785, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006122/0.8791, allocations: 438.8 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.8792, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/0.8792, allocations: 16.02 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8792, allocations: 3.938 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.8792, allocations: 8 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.8793, allocations: 4 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8793, allocations: 3.938 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.8797, allocations: 243.4 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.8797, allocations: 85.06 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.8798, allocations: 11.98 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.8799, allocations: 4 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.74e-05/0.8799, allocations: 11.92 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.8799, allocations: 4 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.908e-05/0.88, allocations: 96.64 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.88, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003213/0.8803, allocations: 43.92 kB / 1.174 GB, free: 12.87 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.0004102/0.8808, allocations: 176 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002835/0.8811, allocations: 95.86 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8811, allocations: 0 / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.8812, allocations: 51.97 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.8815, allocations: 13.75 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005128/0.882, allocations: 208 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.8824, allocations: 0.6846 MB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.18e-05/0.8825, allocations: 11.98 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.8825, allocations: 11.44 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.8825, allocations: 0 / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.004941/0.8874, allocations: 1.704 MB / 1.177 GB, free: 9.891 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches