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.001706/0.001706, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00175/0.00175, allocations: 191.5 kB / 16.14 MB, free: 6.711 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.579/1.579, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.878/2.878, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002076, allocations: 71.88 kB / 0.8686 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.814/0.8161, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003277/0.8194, allocations: 1.542 MB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.8208, allocations: 0.7479 MB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.8209, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.8209, allocations: 3.938 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.821, allocations: 7.922 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004888/0.8215, allocations: 111.8 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.8216, allocations: 59.84 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.739e-05/0.8217, allocations: 12 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.8219, allocations: 39.83 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.822, allocations: 35.84 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.822, allocations: 4 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.8222, allocations: 91.91 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.8223, allocations: 15.91 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.8223, allocations: 31.86 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.8226, allocations: 133.6 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8226, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8226, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.8226, allocations: 0 / 1.019 GB, free: 15.96 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.0006929/0.8233, allocations: 429 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.8234, allocations: 8.031 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.8234, allocations: 8.844 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.8236, allocations: 168.3 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.8236, allocations: 4.375 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.8236, allocations: 12.36 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.8238, allocations: 65.97 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.8239, allocations: 7.938 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.8239, allocations: 4 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.8239, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.824, allocations: 43.89 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.8248, allocations: 312.7 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.8249, allocations: 50.56 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.826e-05/0.825, allocations: 28.97 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.825, allocations: 4 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.8253, allocations: 79.31 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.8253, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004225/0.8257, allocations: 141.6 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.8258, allocations: 59.39 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.8259, allocations: 121.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.8259, allocations: 29.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.826, allocations: 88.12 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.826, allocations: 19.75 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.8261, allocations: 29.7 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8263, allocations: 322.8 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.8264, allocations: 31.91 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.8265, allocations: 46.56 kB / 1.021 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.8266, allocations: 70.55 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.8267, allocations: 0 / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002581/0.8269, allocations: 113.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.8269, allocations: 8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.827, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.827, allocations: 7.875 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.696e-05/0.8271, allocations: 11.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8271, allocations: 4.391 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.8272, allocations: 15.91 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.8272, allocations: 4 kB / 1.022 GB, free: 13.41 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.0001086/0.8273, allocations: 121.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.648e-05/0.8273, allocations: 3.984 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.8274, allocations: 12.38 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8274, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8274, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.8274, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.8281, allocations: 390.3 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8281, allocations: 3.984 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.8281, allocations: 4 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8281, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.8282, allocations: 7.984 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8282, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8282, allocations: 3.938 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.8285, allocations: 215.3 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.8286, allocations: 81.09 kB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.8286, allocations: 0 / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.382e-05/0.8287, allocations: 8 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.8288, allocations: 11.92 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.8288, allocations: 0 / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.394e-05/0.8289, allocations: 95.27 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8289, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000306/0.8292, allocations: 43.94 kB / 1.023 GB, free: 12.31 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.0003797/0.8296, allocations: 164.1 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.8298, allocations: 67.89 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8298, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.83, allocations: 40.05 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.8303, allocations: 11.98 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.8307, allocations: 190.7 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.831, allocations: 0.6926 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.8311, allocations: 4 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.8311, allocations: 19.42 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.8311, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.00477/0.8359, allocations: 1.374 MB / 1.025 GB, free: 9.711 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