Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001436/0.001436, allocations: 187 kB / 17.34 MB, free: 5.719 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.09 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.395/2.395, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 68.34 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7898/0.7912, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002817/0.794, allocations: 1.485 MB / 1.169 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.7954, allocations: 0.7284 MB / 1.169 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.7954, allocations: 3.938 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.7955, allocations: 3.938 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.7955, allocations: 11.86 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005891/0.7961, allocations: 119.6 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.7963, allocations: 83.75 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.828e-05/0.7964, allocations: 12 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.802e-05/0.7965, allocations: 39.84 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.7965, allocations: 39.83 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.7966, allocations: 4 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.7968, allocations: 95.91 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.7968, allocations: 15.98 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.494e-05/0.7968, allocations: 35.78 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.7971, allocations: 143.4 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.7971, allocations: 4 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7971, allocations: 7.938 kB / 1.17 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7971, allocations: 0 / 1.17 GB, free: 0.9844 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006062/0.7977, allocations: 414.8 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.7978, allocations: 12.92 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.7978, allocations: 8.844 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.7979, allocations: 172.3 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.798, allocations: 384 / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.798, allocations: 8.375 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.7982, allocations: 73.97 kB / 1.171 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.7982, allocations: 3.938 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.7982, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.7982, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.7984, allocations: 35.97 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.799, allocations: 324.7 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.7991, allocations: 42.56 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.156e-05/0.7992, allocations: 32.97 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.7992, allocations: 7.922 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.7994, allocations: 79.39 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.7995, allocations: 3.938 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003855/0.7999, allocations: 137.5 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.7999, allocations: 55.41 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.8, allocations: 129.7 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.8, allocations: 25.7 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.8001, allocations: 96.06 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.8001, allocations: 15.88 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.8002, allocations: 33.7 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8003, allocations: 326.8 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.8004, allocations: 19.98 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.323e-05/0.8005, allocations: 46.56 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.8006, allocations: 74.55 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8006, allocations: 3.938 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002149/0.8008, allocations: 113.5 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.8009, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8009, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.8009, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.801, allocations: 11.98 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.801, allocations: 4.062 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.8011, allocations: 11.94 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.8011, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.143e-05/0.8012, allocations: 121.8 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.8012, allocations: 7.906 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.8013, allocations: 12.31 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.8013, allocations: 3.938 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8013, allocations: 7.938 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8013, allocations: 4 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.8017, allocations: 374.9 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8017, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.8018, allocations: 7.984 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.8018, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.8018, allocations: 0 / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.8018, allocations: 4.078 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8018, allocations: 11.86 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.8021, allocations: 215.4 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.8021, allocations: 81.02 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.8022, allocations: 4 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.551e-05/0.8023, allocations: 0 / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.8023, allocations: 15.92 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.8023, allocations: 4 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.8024, allocations: 95.27 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8024, allocations: 0 / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003034/0.8027, allocations: 43.92 kB / 1.173 GB, free: 13.36 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003488/0.8031, allocations: 155.6 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.8033, allocations: 79.95 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8033, allocations: 0 / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.898e-05/0.8034, allocations: 39.91 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.8037, allocations: 14.73 kB / 1.173 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.8041, allocations: 206.6 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.8044, allocations: 0.6885 MB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.8044, allocations: 19.42 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8044, allocations: 0 / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.003391/0.8078, allocations: 1.624 MB / 1.176 GB, free: 10.49 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches