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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001791/0.001791, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 185.1 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.682/2.682, allocations: 443.4 MB / 0.7321 GB, free: 12.43 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 71.83 kB / 1.061 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9126/0.9147, allocations: 160.8 MB / 1.218 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003109/0.9178, allocations: 1.498 MB / 1.22 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.9193, allocations: 0.7511 MB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.9194, allocations: 1.281 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.9194, allocations: 3.938 kB / 1.221 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.9195, allocations: 12.98 kB / 1.221 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.9201, allocations: 127.2 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.9203, allocations: 87.69 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.9203, allocations: 3.25 kB / 1.221 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.9204, allocations: 42.38 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.986e-05/0.9205, allocations: 44.52 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.221e-05/0.9206, allocations: 6.156 kB / 1.221 GB, free: 1.812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.9209, allocations: 129.3 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.9209, allocations: 14.58 kB / 1.221 GB, free: 1.727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.9209, allocations: 40.06 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.9212, allocations: 144.5 kB / 1.221 GB, free: 1.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9212, allocations: 0 / 1.221 GB, free: 1.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9212, allocations: 4.938 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.9212, allocations: 0 / 1.221 GB, free: 1.602 MB / 0.92 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.0007766/0.922, allocations: 423.9 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.9221, allocations: 8.844 kB / 1.222 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.9221, allocations: 9.609 kB / 1.222 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.9223, allocations: 167.7 kB / 1.222 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.9223, allocations: 6.469 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.9223, allocations: 9.078 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.9225, allocations: 75.84 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.9225, allocations: 0 / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.9226, allocations: 4.906 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.9226, allocations: 1.125 kB / 1.222 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.9227, allocations: 35.59 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.9234, allocations: 314.1 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.9235, allocations: 50.59 kB / 1.222 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.9236, allocations: 29.94 kB / 1.222 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.9236, allocations: 4.719 kB / 1.222 GB, free: 492 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.9238, allocations: 78.22 kB / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.9238, allocations: 0 / 1.222 GB, free: 420 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004346/0.9243, allocations: 144.3 kB / 1.223 GB, free: 332 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.9243, allocations: 57.56 kB / 1.223 GB, free: 264 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.9245, allocations: 120.2 kB / 1.223 GB, free: 148 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.9245, allocations: 27.48 kB / 1.223 GB, free: 116 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.9246, allocations: 94.23 kB / 1.223 GB, free: 20 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.9246, allocations: 15.22 kB / 1.223 GB, free: 8 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.9247, allocations: 29.45 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9248, allocations: 329.5 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.9249, allocations: 21.73 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.925, allocations: 45.03 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.9252, allocations: 77.3 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9252, allocations: 0 / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002537/0.9255, allocations: 113.7 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.9255, allocations: 5.562 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.9255, allocations: 8.688 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.9255, allocations: 0.8125 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.9256, allocations: 13.17 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.9256, allocations: 1.375 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.9257, allocations: 15.31 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.9257, allocations: 3.672 kB / 1.224 GB, free: 15.46 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 0.0001144/0.9258, allocations: 123.5 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.9258, allocations: 10.59 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.9259, allocations: 13.41 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.9259, allocations: 1.062 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9259, allocations: 1.094 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.9259, allocations: 3.984 kB / 1.224 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.9264, allocations: 387 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9264, allocations: 0 / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.9264, allocations: 7.375 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.9264, allocations: 5.047 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.9265, allocations: 1.188 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.9265, allocations: 0 / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-05/0.9265, allocations: 5.094 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.9268, allocations: 204.7 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.017e-05/0.9268, allocations: 87.3 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.9269, allocations: 1.188 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.9269, allocations: 3.094 kB / 1.224 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.927, allocations: 18.56 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.927, allocations: 1.312 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.639e-05/0.9271, allocations: 93.73 kB / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9271, allocations: 0 / 1.224 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000346/0.9274, allocations: 44.61 kB / 1.224 GB, free: 14.54 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.0004157/0.9278, allocations: 162.4 kB / 1.225 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002523/0.9281, allocations: 67.64 kB / 1.225 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9281, allocations: 9.125 kB / 1.225 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.9282, allocations: 37.97 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.9285, allocations: 3.156 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.929, allocations: 197.9 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.9294, allocations: 0.6848 MB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.9295, allocations: 11.17 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.9295, allocations: 10.81 kB / 1.226 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.9295, allocations: 0 / 1.226 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of Templates: time 0.005148/0.9346, allocations: 1.505 MB / 1.227 GB, free: 12.71 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile [Timeout 300] (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) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 9.031217329204082]