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.001712/0.001712, allocations: 108 kB / 15.61 MB, free: 152 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.001914/0.001914, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.791/2.791, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7193, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003155/0.7225, allocations: 1.483 MB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.724, allocations: 0.7284 MB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.7241, allocations: 4 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.7241, allocations: 3.938 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.544e-05/0.7242, allocations: 11.86 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.7247, allocations: 127.6 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.7249, allocations: 71.72 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.725, allocations: 19.98 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.844e-05/0.7251, allocations: 31.91 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.584e-05/0.7252, allocations: 39.89 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.7252, allocations: 8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.7254, allocations: 99.78 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.7254, allocations: 19.91 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.968e-05/0.7255, allocations: 27.86 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.7257, allocations: 145.6 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7258, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7258, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.7258, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 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.0007134/0.7265, allocations: 424.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.7265, allocations: 8.031 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.7266, allocations: 8.844 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.7268, allocations: 172.3 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.7268, allocations: 4.375 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.7268, allocations: 8.375 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.727, allocations: 65.97 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.727, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.7271, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.7271, allocations: 11.92 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.7272, allocations: 43.94 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.7279, allocations: 324.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.728, allocations: 50.56 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.302e-05/0.7281, allocations: 28.97 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.7281, allocations: 8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.7283, allocations: 75.31 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.526e-06/0.7283, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004502/0.7288, allocations: 149.5 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.7289, allocations: 51.41 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.729, allocations: 121.8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.729, allocations: 25.7 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.7291, allocations: 92.14 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.7291, allocations: 15.8 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.7292, allocations: 29.7 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7293, allocations: 322.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.7294, allocations: 27.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.7296, allocations: 46.55 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.7298, allocations: 78.48 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7298, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002483/0.7301, allocations: 105.5 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.7301, allocations: 10.03 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.7301, allocations: 7.984 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.7302, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.7303, allocations: 15.94 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.7303, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.7304, allocations: 19.89 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.7304, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 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 0.0001197/0.7305, allocations: 121.8 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.7305, allocations: 0 / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.7306, allocations: 16.36 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.7306, allocations: 3.938 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.7306, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7306, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005497/0.7311, allocations: 390.3 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7312, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.7312, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7312, allocations: 0 / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.7312, allocations: 4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7312, allocations: 3.984 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.88e-06/0.7312, allocations: 3.938 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.7316, allocations: 207.9 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.7316, allocations: 88.95 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.7317, allocations: 4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.108e-05/0.7318, allocations: 7.984 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.7318, allocations: 7.938 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.7318, allocations: 3.984 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.736e-05/0.7319, allocations: 91.27 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7319, allocations: 4 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003044/0.7322, allocations: 43.94 kB / 1.023 GB, free: 12.05 MB / 0.7794 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.000369/0.7326, allocations: 162.5 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.7329, allocations: 71.89 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.7329, allocations: 4.125 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.698e-05/0.733, allocations: 35.98 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.7333, allocations: 3.984 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004928/0.7338, allocations: 188.9 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.7342, allocations: 0.6962 MB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.7342, allocations: 4 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.7342, allocations: 11.38 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7342, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.004933/0.7392, allocations: 1.459 MB / 1.026 GB, free: 9.387 MB / 0.7794 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0