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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007036/0.007036, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001684/0.001684, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.343/1.343, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7106 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.89 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6086, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.00291/0.6116, allocations: 1.538 MB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.613, allocations: 0.7479 MB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.613, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.218e-05/0.6131, allocations: 0 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.6132, allocations: 11.88 kB / 1.02 GB, free: 492 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.6137, allocations: 107.8 kB / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.6138, allocations: 71.78 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.735e-05/0.6139, allocations: 8 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.481e-05/0.614, allocations: 39.89 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.6141, allocations: 31.84 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.6141, allocations: 4 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.6144, allocations: 91.84 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.6144, allocations: 19.91 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.406e-05/0.6145, allocations: 27.86 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.6147, allocations: 97.8 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6147, allocations: 8 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6147, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.6147, allocations: 0 / 1.02 GB, free: 15.98 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.0006999/0.6154, allocations: 424.9 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6155, allocations: 8.031 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.6155, allocations: 8.844 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.6156, allocations: 176.2 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.6157, allocations: 4.375 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.6157, allocations: 8.359 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.6159, allocations: 73.97 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.6159, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.6159, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6159, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.6161, allocations: 39.97 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.6168, allocations: 320.7 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.6169, allocations: 50.5 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.617, allocations: 32.97 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.617, allocations: 3.984 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.6172, allocations: 75.39 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.6172, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003835/0.6176, allocations: 141.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.6177, allocations: 55.41 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.6178, allocations: 117.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.6178, allocations: 33.69 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.6179, allocations: 92.2 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.6179, allocations: 11.81 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.618, allocations: 29.7 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6181, allocations: 326.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.6182, allocations: 31.92 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.064e-05/0.6183, allocations: 46.56 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.6184, allocations: 78.8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6185, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002412/0.6187, allocations: 117.4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6187, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.6187, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6188, allocations: 4 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.6189, allocations: 15.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6189, allocations: 4.062 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.619, allocations: 11.84 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.619, allocations: 4 kB / 1.022 GB, free: 13.43 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 8.689e-05/0.6191, allocations: 126.2 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.6191, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.6192, allocations: 8.375 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6192, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6192, allocations: 4 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.6192, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.6197, allocations: 386.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6197, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.6198, allocations: 7.984 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.6198, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.6198, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6198, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6198, allocations: 7.938 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.6202, allocations: 211.4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.6202, allocations: 81.11 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.6203, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.6203, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.395e-05/0.6205, allocations: 7.922 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.6205, allocations: 7.938 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.292e-05/0.6206, allocations: 103.8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6206, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003309/0.6209, allocations: 43.92 kB / 1.023 GB, free: 12.34 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.0004091/0.6213, allocations: 161.2 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.6216, allocations: 79.89 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6217, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.6218, allocations: 35.97 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.6221, allocations: 7.703 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.6227, allocations: 228.4 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.623, allocations: 0.6848 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.623, allocations: 19.36 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.623, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Templates: time 0.004489/0.6275, allocations: 1.607 MB / 1.026 GB, free: 9.48 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches