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.001201/0.001202, allocations: 107.7 kB / 16.41 MB, free: 6.512 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.001199/0.001199, allocations: 187 kB / 17.34 MB, free: 5.742 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.364/1.364, 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 11.0.1-master/package.mo): time 2.611/2.611, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7488/0.7502, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.00282/0.753, allocations: 1.507 MB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.7544, allocations: 0.744 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.481e-05/0.7545, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.7546, allocations: 3.938 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.304e-05/0.7546, allocations: 19.8 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006119/0.7552, allocations: 135.6 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000144/0.7554, allocations: 91.7 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.7555, allocations: 16 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.7556, allocations: 39.89 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.323e-05/0.7557, allocations: 39.84 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.788e-05/0.7557, allocations: 8 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002098/0.756, allocations: 99.84 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.756, allocations: 31.89 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.7561, allocations: 39.8 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002487/0.7563, allocations: 147.5 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7563, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7563, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.7563, allocations: 0 / 1.211 GB, free: 10.72 MB / 0.9356 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.0006294/0.757, allocations: 464.3 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.757, allocations: 8.031 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.7571, allocations: 16.83 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.7572, allocations: 179 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.7572, allocations: 8.375 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.7573, allocations: 12.31 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.7575, allocations: 89.94 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.7575, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.7575, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7576, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.7577, allocations: 51.91 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.7583, allocations: 316.8 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.7585, allocations: 70.62 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.7586, allocations: 48.77 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.7586, allocations: 0 / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.7588, allocations: 95.36 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.7588, allocations: 0 / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0004849/0.7593, allocations: 185.5 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.7594, allocations: 63.55 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.7595, allocations: 125.7 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.7595, allocations: 33.7 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.7596, allocations: 88.38 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.7596, allocations: 23.73 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.7597, allocations: 37.7 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7598, allocations: 318.8 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.946e-05/0.7599, allocations: 27.97 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.76, allocations: 80.05 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.7602, allocations: 110.3 kB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.7603, allocations: 0 / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002699/0.7605, allocations: 137.4 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.7606, allocations: 4 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7606, allocations: 3.938 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.7606, allocations: 4 kB / 1.214 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.7607, allocations: 16.14 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.7607, allocations: 15.94 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.53e-05/0.7608, allocations: 15.84 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.7608, allocations: 4 kB / 1.214 GB, free: 7.844 MB / 0.9356 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.0001054/0.7609, allocations: 132.2 kB / 1.214 GB, free: 7.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.761, allocations: 11.89 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.761, allocations: 4.375 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.761, allocations: 0 / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.761, allocations: 8 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.761, allocations: 0 / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.7615, allocations: 430.4 kB / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7616, allocations: 0 / 1.214 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.7616, allocations: 7.984 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.7616, allocations: 4 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.7616, allocations: 0 / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.7616, allocations: 3.938 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7617, allocations: 3.938 kB / 1.214 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.762, allocations: 255.3 kB / 1.215 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.7621, allocations: 81.02 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.7621, allocations: 7.984 kB / 1.215 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.7622, allocations: 3.938 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.7623, allocations: 20 kB / 1.215 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.7623, allocations: 4 kB / 1.215 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.7624, allocations: 99.27 kB / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7624, allocations: 0 / 1.215 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003354/0.7627, allocations: 43.98 kB / 1.215 GB, free: 6.645 MB / 0.9356 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.0003479/0.7631, allocations: 159 kB / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.7633, allocations: 95.83 kB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7634, allocations: 0 / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.7635, allocations: 51.91 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.7638, allocations: 11.98 kB / 1.215 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/0.7643, allocations: 242 kB / 1.215 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.7646, allocations: 0.6924 MB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.7646, allocations: 15.42 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.7646, allocations: 0 / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of Templates: time 0.003726/0.7683, allocations: 1.793 MB / 1.218 GB, free: 3.551 MB / 0.9356 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/jenkins1/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