Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_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_latest_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.00163/0.001631, allocations: 103.8 kB / 16.41 MB, free: 6.457 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.001855/0.001855, allocations: 189.7 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.53/2.53, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7884, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002634/0.7911, allocations: 1.487 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.7926, allocations: 0.7245 MB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.831e-05/0.7927, allocations: 0 / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.7927, allocations: 7.875 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.7928, allocations: 11.92 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006373/0.7934, allocations: 119.6 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.7936, allocations: 83.75 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.892e-05/0.7937, allocations: 23.94 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.874e-05/0.7938, allocations: 27.92 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.388e-05/0.7939, allocations: 39.83 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.7939, allocations: 8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.7941, allocations: 95.84 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.7942, allocations: 11.98 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.7942, allocations: 39.78 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.7945, allocations: 147.4 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7945, allocations: 7.984 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7945, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.7945, allocations: 0 / 1.211 GB, free: 10.8 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006847/0.7952, allocations: 410.8 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.7953, allocations: 8.031 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.7953, allocations: 12.84 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.7955, allocations: 172.3 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/0.7955, allocations: 4.375 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.7956, allocations: 12.31 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.7958, allocations: 69.97 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.7958, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.7958, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.7958, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.7959, allocations: 39.91 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.7966, allocations: 320.7 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.7967, allocations: 46.56 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.7968, allocations: 32.95 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.7969, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002057/0.7971, allocations: 83.31 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.875e-06/0.7971, allocations: 4 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004126/0.7975, allocations: 137.5 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.7976, allocations: 51.41 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.7977, allocations: 133.7 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.7977, allocations: 25.7 kB / 1.213 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.7978, allocations: 88.14 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.7978, allocations: 19.88 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.7979, allocations: 33.7 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.798, allocations: 318.8 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.7981, allocations: 35.92 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.7982, allocations: 46.55 kB / 1.213 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.7983, allocations: 70.56 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7984, allocations: 0 / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000245/0.7986, allocations: 117.8 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.7986, allocations: 5.875 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7986, allocations: 4 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7987, allocations: 3.938 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.7988, allocations: 15.97 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.7988, allocations: 4.062 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.7989, allocations: 7.938 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.7989, allocations: 11.98 kB / 1.213 GB, free: 8.258 MB / 0.9356 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.692e-05/0.799, allocations: 117.8 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.799, allocations: 7.906 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.223e-05/0.799, allocations: 12.38 kB / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.7991, allocations: 0 / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7991, allocations: 0 / 1.214 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.7991, allocations: 7.938 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.7995, allocations: 378.4 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7996, allocations: 0 / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.7996, allocations: 7.984 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7996, allocations: 0 / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.7996, allocations: 7.938 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7996, allocations: 0 / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.7996, allocations: 3.938 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.7999, allocations: 215.3 kB / 1.214 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.8, allocations: 85.02 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.8, allocations: 0 / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.19e-05/0.8001, allocations: 4 kB / 1.214 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.8002, allocations: 15.92 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.8002, allocations: 0 / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.8002, allocations: 91.27 kB / 1.214 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8002, allocations: 4 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003089/0.8006, allocations: 47.92 kB / 1.214 GB, free: 7.168 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: 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.000346/0.8009, allocations: 151.5 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002579/0.8012, allocations: 75.95 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8012, allocations: 0 / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.786e-05/0.8013, allocations: 39.91 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.8016, allocations: 11.94 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.802, allocations: 218.2 kB / 1.215 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.8023, allocations: 0.6846 MB / 1.215 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.8023, allocations: 23.48 kB / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8023, allocations: 0 / 1.216 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of Templates: time 0.003853/0.8062, allocations: 1.617 MB / 1.217 GB, free: 4.309 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches