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.001779/0.001779, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.00193/0.00193, allocations: 195.1 kB / 16.26 MB, free: 6.637 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.523/1.523, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.769/2.769, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7123/0.7143, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002885/0.7173, allocations: 1.546 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.7186, allocations: 0.7207 MB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.7186, allocations: 3.938 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.822e-05/0.7187, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-05/0.7187, allocations: 3.938 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.7193, allocations: 115.8 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.7194, allocations: 79.7 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.7195, allocations: 8 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.7196, allocations: 47.89 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.7197, allocations: 35.84 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.7197, allocations: 4 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.7199, allocations: 99.78 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.048e-05/0.72, allocations: 23.91 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.72, allocations: 27.86 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.7203, allocations: 137.6 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.7203, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7203, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.7203, allocations: 4 kB / 1.02 GB, free: 15.86 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.0006905/0.721, allocations: 428.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.721, allocations: 12.03 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.7211, allocations: 8.844 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.7213, allocations: 168.3 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.7213, allocations: 384 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.7213, allocations: 12.36 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.7215, allocations: 73.95 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.7215, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.7216, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.7216, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.7217, allocations: 35.97 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/0.7224, allocations: 324.6 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.7225, allocations: 46.56 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.801e-05/0.7226, allocations: 32.97 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.7226, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.7229, allocations: 83.36 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.7229, allocations: 3.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004102/0.7233, allocations: 145.5 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.7233, allocations: 59.41 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.7235, allocations: 117.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.7235, allocations: 25.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.7236, allocations: 92.12 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.7236, allocations: 11.81 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.7236, allocations: 29.7 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7238, allocations: 330.8 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.7239, allocations: 19.98 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.724, allocations: 46.56 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.7242, allocations: 74.48 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7242, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002472/0.7244, allocations: 117.5 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.7244, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7245, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.7245, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.7246, allocations: 15.98 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.7246, allocations: 3.938 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.7247, allocations: 19.78 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.7247, allocations: 8.062 kB / 1.022 GB, free: 13.3 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.0001054/0.7248, allocations: 118.3 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.7248, allocations: 7.984 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.7249, allocations: 8.375 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7249, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7249, allocations: 7.938 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7249, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.7254, allocations: 382.3 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7254, allocations: 0 / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.7254, allocations: 4 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7255, allocations: 3.984 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.7255, allocations: 4 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7255, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.7255, allocations: 7.922 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.7258, allocations: 207.5 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.7259, allocations: 88.94 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.7259, allocations: 4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.801e-05/0.726, allocations: 4 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.726, allocations: 11.92 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.726, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.7261, allocations: 91.27 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7261, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002985/0.7264, allocations: 43.94 kB / 1.023 GB, free: 12.22 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.0003778/0.7268, allocations: 161.2 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.7271, allocations: 75.89 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.7271, allocations: 0 / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.7272, allocations: 36.11 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.7274, allocations: 8.828 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.7279, allocations: 196.9 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.7282, allocations: 0.6924 MB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.7283, allocations: 7.938 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.7283, allocations: 15.42 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7283, allocations: 0 / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.004407/0.7327, allocations: 1.414 MB / 1.025 GB, free: 9.574 MB / 0.7794 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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