Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.Nicol2001WindowsUK,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.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,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.Nicol2001WindowsUK") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 107.4 kB / 15.99 MB, free: 6.348 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.001455/0.001455, allocations: 199.7 kB / 16.91 MB, free: 6.188 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.295/1.295, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.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.397/2.397, allocations: 437 MB / 0.7107 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 65.09 kB / 0.8694 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2665, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003257/0.2698, allocations: 1.538 MB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2711, allocations: 0.7246 MB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.2712, allocations: 0 / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.15e-05/0.2713, allocations: 7.875 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.2713, allocations: 7.938 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.272, allocations: 107.8 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.2722, allocations: 79.78 kB / 1.02 GB, free: 8.539 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.2723, allocations: 15.98 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001079/0.2724, allocations: 31.91 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.065e-05/0.2725, allocations: 39.83 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.2726, allocations: 8 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002276/0.2728, allocations: 95.84 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.2729, allocations: 19.92 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.709e-05/0.2729, allocations: 31.86 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.2732, allocations: 108 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2732, allocations: 3.984 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2732, allocations: 0 / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2732, allocations: 0 / 1.02 GB, free: 8.191 MB / 0.795 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.0007403/0.2739, allocations: 412.9 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.274, allocations: 8.031 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.274, allocations: 8.844 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.2742, allocations: 184.1 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.2742, allocations: 12.38 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.2743, allocations: 4.375 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.2745, allocations: 69.91 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.2745, allocations: 0 / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.2745, allocations: 4 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2745, allocations: 0 / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2747, allocations: 39.97 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.2753, allocations: 312.8 kB / 1.021 GB, free: 7.012 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.2755, allocations: 54.5 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.2756, allocations: 32.95 kB / 1.021 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.2756, allocations: 4 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.2758, allocations: 79.36 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 3.116e-06/0.2758, allocations: 3.984 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003978/0.2762, allocations: 137.5 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.2763, allocations: 59.41 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.2764, allocations: 121.8 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2764, allocations: 33.7 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/0.2765, allocations: 88.14 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2766, allocations: 19.75 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.2766, allocations: 25.7 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2768, allocations: 322.8 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.2768, allocations: 27.98 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.2769, allocations: 54.48 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.2771, allocations: 74.5 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2771, allocations: 0 / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002352/0.2774, allocations: 109.5 kB / 1.022 GB, free: 5.688 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2774, allocations: 8 kB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2774, allocations: 0 / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.2774, allocations: 4.062 kB / 1.022 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.2775, allocations: 15.98 kB / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.2775, allocations: 4 kB / 1.022 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.2776, allocations: 7.906 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2777, allocations: 3.984 kB / 1.022 GB, free: 5.645 MB / 0.795 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.0001413/0.2778, allocations: 125.7 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.2779, allocations: 0 / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.2779, allocations: 16.38 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2779, allocations: 0 / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2779, allocations: 0 / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2779, allocations: 3.938 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.2784, allocations: 386.3 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2784, allocations: 0 / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.2784, allocations: 11.92 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2785, allocations: 4 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2785, allocations: 0 / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.2785, allocations: 4 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2785, allocations: 3.938 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.2788, allocations: 215.4 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.2789, allocations: 77.11 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2789, allocations: 0 / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.925e-05/0.279, allocations: 4 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.279, allocations: 15.92 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.2791, allocations: 0 / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.566e-05/0.2791, allocations: 99.27 kB / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.423e-06/0.2791, allocations: 0 / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003103/0.2794, allocations: 39.92 kB / 1.023 GB, free: 4.555 MB / 0.795 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.0003788/0.2798, allocations: 172.5 kB / 1.024 GB, free: 4.395 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.2801, allocations: 71.84 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2801, allocations: 0 / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.2802, allocations: 39.97 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.2805, allocations: 12.73 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.2809, allocations: 226.7 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2812, allocations: 0.6884 MB / 1.025 GB, free: 3.301 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.2812, allocations: 15.42 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.2812, allocations: 0 / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of Templates: time 0.003866/0.2851, allocations: 1.602 MB / 1.026 GB, free: 1.688 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches