Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.002004/0.002004, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.002167/0.002167, allocations: 190.7 kB / 20.78 MB, free: 1.539 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.6/1.6, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.961/2.961, allocations: 496.2 MB / 0.7819 GB, free: 12.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.88 kB / 1.136 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277/1.279, allocations: 173.6 MB / 1.305 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.005465/1.284, allocations: 1.496 MB / 1.307 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00267/1.287, allocations: 0.7456 MB / 1.308 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/1.287, allocations: 1.094 kB / 1.308 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/1.287, allocations: 4.547 kB / 1.308 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/1.287, allocations: 14.12 kB / 1.308 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009245/1.288, allocations: 125 kB / 1.308 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/1.288, allocations: 78.09 kB / 1.308 GB, free: 15.04 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/1.289, allocations: 13.3 kB / 1.308 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/1.289, allocations: 36.16 kB / 1.308 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/1.289, allocations: 41.23 kB / 1.308 GB, free: 15 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/1.289, allocations: 5.875 kB / 1.308 GB, free: 15 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/1.289, allocations: 102 kB / 1.308 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/1.289, allocations: 17.69 kB / 1.308 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.251e-05/1.289, allocations: 36.48 kB / 1.308 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/1.29, allocations: 144.5 kB / 1.308 GB, free: 14.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.29, allocations: 1.281 kB / 1.308 GB, free: 14.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/1.29, allocations: 0 / 1.308 GB, free: 14.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.612e-06/1.29, allocations: 3.938 kB / 1.308 GB, free: 14.88 MB / 1.014 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.0008479/1.291, allocations: 426.9 kB / 1.309 GB, free: 14.46 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.291, allocations: 9.438 kB / 1.309 GB, free: 14.46 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/1.291, allocations: 8.719 kB / 1.309 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/1.291, allocations: 173 kB / 1.309 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/1.291, allocations: 8.203 kB / 1.309 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/1.291, allocations: 8.828 kB / 1.309 GB, free: 14.24 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/1.291, allocations: 67.05 kB / 1.309 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.291, allocations: 1.094 kB / 1.309 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/1.291, allocations: 0.5156 kB / 1.309 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.291, allocations: 1.469 kB / 1.309 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/1.291, allocations: 39.38 kB / 1.309 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007435/1.292, allocations: 323.6 kB / 1.309 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/1.292, allocations: 44.5 kB / 1.309 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/1.292, allocations: 33.89 kB / 1.309 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/1.292, allocations: 1.219 kB / 1.309 GB, free: 13.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/1.292, allocations: 84.88 kB / 1.309 GB, free: 13.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/1.292, allocations: 0 / 1.309 GB, free: 13.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004667/1.293, allocations: 137.8 kB / 1.309 GB, free: 13.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/1.293, allocations: 53.36 kB / 1.31 GB, free: 13.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/1.293, allocations: 123.8 kB / 1.31 GB, free: 13.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/1.293, allocations: 31.27 kB / 1.31 GB, free: 13.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/1.293, allocations: 94.97 kB / 1.31 GB, free: 13.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/1.293, allocations: 16.7 kB / 1.31 GB, free: 13.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-05/1.293, allocations: 25.05 kB / 1.31 GB, free: 13.38 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.294, allocations: 323.4 kB / 1.31 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/1.294, allocations: 27.44 kB / 1.31 GB, free: 13.05 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/1.294, allocations: 50.66 kB / 1.31 GB, free: 13.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/1.294, allocations: 76.55 kB / 1.31 GB, free: 12.96 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.294, allocations: 0 / 1.31 GB, free: 12.96 MB / 1.014 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000268/1.294, allocations: 116.8 kB / 1.31 GB, free: 12.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.294, allocations: 5.594 kB / 1.31 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.294, allocations: 1.188 kB / 1.31 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/1.294, allocations: 5.219 kB / 1.31 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/1.294, allocations: 15.55 kB / 1.31 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/1.294, allocations: 1.969 kB / 1.31 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/1.294, allocations: 9.047 kB / 1.31 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/1.294, allocations: 3.609 kB / 1.31 GB, free: 12.89 MB / 1.014 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.00012/1.295, allocations: 124.7 kB / 1.311 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/1.295, allocations: 6.844 kB / 1.311 GB, free: 12.76 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.45e-05/1.295, allocations: 6.156 kB / 1.311 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.295, allocations: 5.953 kB / 1.311 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.295, allocations: 1.156 kB / 1.311 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.295, allocations: 0.7969 kB / 1.311 GB, free: 12.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/1.295, allocations: 385.6 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.295, allocations: 1.344 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/1.295, allocations: 5.188 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/1.295, allocations: 0.6562 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.295, allocations: 1.828 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/1.295, allocations: 6.047 kB / 1.311 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.295, allocations: 3.938 kB / 1.311 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/1.295, allocations: 207.2 kB / 1.311 GB, free: 12.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/1.296, allocations: 83.17 kB / 1.311 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/1.296, allocations: 2.234 kB / 1.311 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/1.296, allocations: 4.438 kB / 1.311 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/1.296, allocations: 8.766 kB / 1.311 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/1.296, allocations: 16.2 kB / 1.311 GB, free: 12.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.357e-05/1.296, allocations: 91.03 kB / 1.311 GB, free: 12.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.296, allocations: 3.938 kB / 1.311 GB, free: 12.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003405/1.296, allocations: 39.11 kB / 1.311 GB, free: 12.04 MB / 1.014 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.0004011/1.297, allocations: 159.3 kB / 1.312 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002809/1.297, allocations: 78.91 kB / 1.312 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/1.297, allocations: 0 / 1.312 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.65e-05/1.297, allocations: 28.11 kB / 1.312 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/1.297, allocations: 9.625 kB / 1.312 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/1.298, allocations: 200.1 kB / 1.312 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/1.298, allocations: 0.6909 MB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.87e-05/1.298, allocations: 4.734 kB / 1.313 GB, free: 11.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/1.298, allocations: 12.58 kB / 1.313 GB, free: 11.03 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/1.298, allocations: 0 / 1.313 GB, free: 11.03 MB / 1.014 GB Notification: Performance of Templates: time 0.005123/1.303, allocations: 1.483 MB / 1.314 GB, free: 10.66 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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: 10.052190176211298]