Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,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.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,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.Nicol2001WindowsEU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 110.9 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.001762/0.001762, allocations: 187 kB / 17.34 MB, free: 5.766 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.341/1.341, 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 10.1.1-maint.10.0.x/package.mo): time 2.369/2.369, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 1.019 GB, free: 9.48 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7949/0.7964, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002574/0.799, allocations: 1.483 MB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.8003, allocations: 0.7245 MB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.8003, allocations: 4 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.8004, allocations: 3.938 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.8004, allocations: 15.86 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.801, allocations: 123.6 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.8012, allocations: 79.7 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.8012, allocations: 8 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.189e-05/0.8013, allocations: 39.91 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.822e-05/0.8014, allocations: 39.83 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.8014, allocations: 4 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.8016, allocations: 99.84 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.8017, allocations: 15.98 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.8017, allocations: 35.78 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.802, allocations: 139.5 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.802, allocations: 8 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.322e-06/0.802, allocations: 0 / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.802, allocations: 0 / 1.17 GB, free: 1.082 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.0006002/0.8026, allocations: 414.8 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.8026, allocations: 12.03 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.8027, allocations: 8.844 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.8028, allocations: 172.2 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.8028, allocations: 384 / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.8029, allocations: 8.375 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.803, allocations: 69.97 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8031, allocations: 7.969 kB / 1.171 GB, free: 316 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.8031, allocations: 4 kB / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.8031, allocations: 0 / 1.171 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.8032, allocations: 31.98 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005911/0.8038, allocations: 328.6 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.804, allocations: 46.56 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.804, allocations: 32.97 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.8041, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.8043, allocations: 75.38 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 4.939e-06/0.8043, allocations: 0 / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.000389/0.8047, allocations: 145.5 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.8047, allocations: 63.39 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.8048, allocations: 129.6 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.8048, allocations: 25.7 kB / 1.172 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.8049, allocations: 96.12 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.8049, allocations: 7.812 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.805, allocations: 29.7 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.8051, allocations: 322.8 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.8052, allocations: 31.97 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/0.8053, allocations: 46.56 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.8054, allocations: 74.48 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8055, allocations: 0 / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002346/0.8057, allocations: 113.8 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.8057, allocations: 4 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8057, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.8057, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.8058, allocations: 19.92 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.8059, allocations: 4.062 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.8059, allocations: 7.938 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.806, allocations: 4 kB / 1.172 GB, free: 14.54 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 8.053e-05/0.806, allocations: 121.8 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.8061, allocations: 7.906 kB / 1.172 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.8061, allocations: 12.36 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.8061, allocations: 4 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8061, allocations: 0 / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8061, allocations: 3.938 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.8065, allocations: 382.4 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8066, allocations: 4 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.8066, allocations: 8 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8066, allocations: 0 / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.8066, allocations: 3.984 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8066, allocations: 0 / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.8066, allocations: 3.938 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.8069, allocations: 211.3 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.807, allocations: 89.02 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.807, allocations: 7.984 kB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.8071, allocations: 0 / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.8071, allocations: 11.92 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.8071, allocations: 4 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.649e-05/0.8072, allocations: 91.27 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8072, allocations: 0 / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002968/0.8075, allocations: 39.94 kB / 1.173 GB, free: 13.45 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.0003056/0.8078, allocations: 168.3 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.8081, allocations: 75.89 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8081, allocations: 0 / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.8082, allocations: 31.98 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.8084, allocations: 13.61 kB / 1.173 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004064/0.8088, allocations: 214.5 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.8091, allocations: 0.6885 MB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.8091, allocations: 11.44 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of SimCode: time 3.51e-07/0.8091, allocations: 0 / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.00335/0.8125, allocations: 1.623 MB / 1.176 GB, free: 10.59 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches