Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0009079/0.0009079, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 184.1 kB / 16.92 MB, free: 6.918 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005173, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7036, allocations: 142.4 MB / 0.9557 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001495/0.7051, allocations: 1.193 MB / 0.9569 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.7063, allocations: 0.7255 MB / 0.9576 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.7063, allocations: 1.375 kB / 0.9576 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.7064, allocations: 0 / 0.9576 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.972e-05/0.7064, allocations: 9.188 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.7069, allocations: 104.5 kB / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.707, allocations: 74.58 kB / 0.9578 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.7071, allocations: 21.59 kB / 0.9578 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.7072, allocations: 25.45 kB / 0.9578 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.829e-05/0.7073, allocations: 38.95 kB / 0.9578 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.7073, allocations: 7.484 kB / 0.9578 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.7075, allocations: 85.61 kB / 0.9579 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.7075, allocations: 14.19 kB / 0.9579 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.7076, allocations: 58.44 kB / 0.958 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.7078, allocations: 100.4 kB / 0.9581 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7078, allocations: 0 / 0.9581 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7078, allocations: 0 / 0.9581 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.7078, allocations: 4.875 kB / 0.9581 GB, free: 5.77 MB / 0.7169 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.0005289/0.7083, allocations: 408.7 kB / 0.9585 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.7084, allocations: 10 kB / 0.9585 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.7084, allocations: 8.094 kB / 0.9585 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.056e-05/0.7085, allocations: 175.7 kB / 0.9587 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.7086, allocations: 3.781 kB / 0.9587 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.7086, allocations: 12.33 kB / 0.9587 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.7088, allocations: 74.56 kB / 0.9588 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.7088, allocations: 0 / 0.9588 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.7088, allocations: 1.156 kB / 0.9588 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.7088, allocations: 1.219 kB / 0.9588 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.7089, allocations: 41.81 kB / 0.9588 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005492/0.7095, allocations: 334.1 kB / 0.9591 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.7096, allocations: 47.28 kB / 0.9592 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.7097, allocations: 37.62 kB / 0.9592 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.7098, allocations: 5.094 kB / 0.9592 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.7099, allocations: 80.22 kB / 0.9593 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7099, allocations: 0 / 0.9593 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003723/0.7103, allocations: 152.8 kB / 0.9594 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.7104, allocations: 58.56 kB / 0.9595 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.7104, allocations: 116.3 kB / 0.9596 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.7105, allocations: 26.67 kB / 0.9596 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.7105, allocations: 98.53 kB / 0.9597 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.7105, allocations: 19.03 kB / 0.9597 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.7106, allocations: 22.19 kB / 0.9598 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5e-05/0.7106, allocations: 324.2 kB / 0.9601 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.189e-05/0.7107, allocations: 28.61 kB / 0.9601 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.541e-05/0.7108, allocations: 51.83 kB / 0.9601 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.711, allocations: 78.94 kB / 0.9602 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.711, allocations: 0 / 0.9602 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002158/0.7112, allocations: 124 kB / 0.9603 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7112, allocations: 6.5 kB / 0.9603 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7112, allocations: 0 / 0.9603 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.7112, allocations: 1.594 kB / 0.9603 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.107e-05/0.7113, allocations: 16.2 kB / 0.9604 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7113, allocations: 5.25 kB / 0.9604 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/0.7114, allocations: 13.05 kB / 0.9604 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.7114, allocations: 3.656 kB / 0.9604 GB, free: 3.629 MB / 0.7169 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 6.603e-05/0.7115, allocations: 122.2 kB / 0.9605 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.7115, allocations: 8.031 kB / 0.9605 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.7116, allocations: 9.75 kB / 0.9605 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7116, allocations: 5.312 kB / 0.9605 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7116, allocations: 3.984 kB / 0.9605 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.7116, allocations: 0 / 0.9605 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.7119, allocations: 392.4 kB / 0.9609 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.712, allocations: 0 / 0.9609 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.712, allocations: 5.5 kB / 0.9609 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.712, allocations: 0 / 0.9609 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.712, allocations: 1.375 kB / 0.9609 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.712, allocations: 0 / 0.9609 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.712, allocations: 9.297 kB / 0.9609 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.7123, allocations: 210.4 kB / 0.9611 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.7123, allocations: 87.77 kB / 0.9612 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.7123, allocations: 3.984 kB / 0.9612 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.7124, allocations: 9.484 kB / 0.9612 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.7125, allocations: 14.61 kB / 0.9612 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.7125, allocations: 5.359 kB / 0.9612 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.7125, allocations: 96.89 kB / 0.9613 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7125, allocations: 0 / 0.9613 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003057/0.7128, allocations: 40.81 kB / 0.9614 GB, free: 2.711 MB / 0.7169 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.0003205/0.7132, allocations: 159.2 kB / 0.9615 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.7134, allocations: 84 kB / 0.9616 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7134, allocations: 4 kB / 0.9616 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.7135, allocations: 35.36 kB / 0.9616 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.7138, allocations: 2.75 kB / 0.9616 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000358/0.7141, allocations: 252 kB / 0.9619 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.7143, allocations: 0.6878 MB / 0.9625 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.7143, allocations: 10.38 kB / 0.9626 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7143, allocations: 0 / 0.9626 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of Templates: time 0.003345/0.7177, allocations: 1.616 MB / 0.9641 GB, free: 0.7773 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches