Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.0016/0.0016, allocations: 107.2 kB / 15.99 MB, free: 5.891 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.001586/0.001586, allocations: 194.7 kB / 16.91 MB, free: 5.746 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.823/2.823, allocations: 469.8 MB / 0.7427 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.89 kB / 0.9087 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3194, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002855/0.3223, allocations: 1.535 MB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3236, allocations: 0.7285 MB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.3237, allocations: 3.938 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.3237, allocations: 3.984 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.179e-05/0.3238, allocations: 7.875 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.3243, allocations: 111.8 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.3244, allocations: 71.83 kB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.3245, allocations: 11.98 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.46e-05/0.3246, allocations: 35.92 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.3247, allocations: 47.75 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3247, allocations: 4 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.3249, allocations: 99.84 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.3249, allocations: 19.92 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.325, allocations: 31.86 kB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.3252, allocations: 100 kB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3252, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3252, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3252, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8262 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.0006828/0.3259, allocations: 421 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3259, allocations: 8.031 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.326, allocations: 12.78 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.3261, allocations: 180.2 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.3262, allocations: 4.375 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.3262, allocations: 4.375 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.3264, allocations: 77.95 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3264, allocations: 7.984 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3264, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3264, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.3266, allocations: 35.98 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.3272, allocations: 316.7 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.3273, allocations: 46.56 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.478e-05/0.3274, allocations: 32.97 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3275, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.3277, allocations: 79.38 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3277, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004242/0.3281, allocations: 145.5 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.3282, allocations: 55.39 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.3283, allocations: 121.8 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.3283, allocations: 29.7 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.3284, allocations: 96.03 kB / 1.068 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.3284, allocations: 15.75 kB / 1.068 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.3285, allocations: 33.7 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3287, allocations: 318.8 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.3288, allocations: 31.97 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.804e-05/0.3289, allocations: 46.5 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.329, allocations: 74.48 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3291, allocations: 4 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002557/0.3293, allocations: 113.6 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3293, allocations: 4 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3293, allocations: 0 / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3294, allocations: 4 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.3295, allocations: 15.92 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3295, allocations: 3.938 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.3296, allocations: 7.906 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3296, allocations: 12.06 kB / 1.069 GB, free: 9.176 MB / 0.8262 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.0001099/0.3297, allocations: 117.8 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.3297, allocations: 7.906 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.3298, allocations: 12.36 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3298, allocations: 4 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3298, allocations: 3.984 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3298, allocations: 0 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.3303, allocations: 382.8 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3303, allocations: 0 / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.3303, allocations: 4 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3304, allocations: 0 / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.3304, allocations: 3.984 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3304, allocations: 4 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3304, allocations: 3.938 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.3307, allocations: 219.5 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.3308, allocations: 85.02 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.3308, allocations: 7.922 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.3309, allocations: 4 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.3309, allocations: 11.92 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.331, allocations: 4 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.331, allocations: 91.27 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.331, allocations: 3.938 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003106/0.3313, allocations: 40 kB / 1.07 GB, free: 8.086 MB / 0.8262 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.0003483/0.3317, allocations: 154 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.332, allocations: 75.89 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.332, allocations: 128 / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3321, allocations: 35.98 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.3323, allocations: 17.23 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.3328, allocations: 218.6 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3331, allocations: 0.6963 MB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.3332, allocations: 11.44 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3332, allocations: 0 / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of Templates: time 0.003582/0.3368, allocations: 1.616 MB / 1.073 GB, free: 5.223 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches