Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001909/0.001909, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.002305/0.002305, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.502/1.502, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.529/2.529, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 68.22 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3259, allocations: 153 MB / 1.027 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00286/0.3288, allocations: 1.486 MB / 1.028 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.33, allocations: 0.7476 MB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.3301, allocations: 4 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.3301, allocations: 3.938 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.874e-05/0.3302, allocations: 11.86 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.3308, allocations: 119.6 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3309, allocations: 71.83 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.331, allocations: 12 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.797e-05/0.3311, allocations: 43.83 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.3312, allocations: 39.84 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3312, allocations: 8 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.3314, allocations: 87.91 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.3314, allocations: 15.92 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.3315, allocations: 39.84 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3317, allocations: 143.5 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3317, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3317, allocations: 4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3318, allocations: 0 / 1.029 GB, free: 15.27 MB / 0.8106 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.000653/0.3324, allocations: 417 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3325, allocations: 8.031 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/0.3325, allocations: 8.844 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3326, allocations: 176.2 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.3327, allocations: 12.36 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3327, allocations: 4.375 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.3329, allocations: 73.91 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3329, allocations: 0 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3329, allocations: 8 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3329, allocations: 0 / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.3331, allocations: 35.97 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.3337, allocations: 316.8 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.3338, allocations: 50.5 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.3339, allocations: 32.97 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3339, allocations: 4 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.3342, allocations: 75.31 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.3342, allocations: 4 kB / 1.031 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004097/0.3346, allocations: 141.6 kB / 1.031 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.3347, allocations: 59.33 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.3348, allocations: 117.8 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3348, allocations: 29.7 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.3349, allocations: 96.03 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.3349, allocations: 15.84 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.335, allocations: 29.7 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3351, allocations: 322.8 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.91e-05/0.3352, allocations: 27.98 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3353, allocations: 46.56 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3355, allocations: 78.48 kB / 1.032 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3355, allocations: 3.938 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002304/0.3357, allocations: 113.5 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3357, allocations: 8 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3358, allocations: 0 / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3358, allocations: 0 / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-05/0.3359, allocations: 11.98 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.3359, allocations: 4 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.336, allocations: 11.97 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.336, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 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 9.773e-05/0.3361, allocations: 137.6 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.3361, allocations: 3.906 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.3362, allocations: 8.375 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.3362, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3362, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3362, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004847/0.3367, allocations: 386.4 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3367, allocations: 0 / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.3367, allocations: 11.92 kB / 1.032 GB, free: 12.13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.3367, allocations: 4 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3368, allocations: 0 / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3368, allocations: 0 / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3368, allocations: 3.938 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.3371, allocations: 223.8 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.3371, allocations: 77.11 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3371, allocations: 3.984 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.3372, allocations: 4 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.3373, allocations: 11.92 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.3373, allocations: 4 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.3374, allocations: 95.27 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.512e-06/0.3374, allocations: 7.938 kB / 1.033 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003078/0.3377, allocations: 43.84 kB / 1.033 GB, free: 11.62 MB / 0.8106 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.0003662/0.3381, allocations: 162.9 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3383, allocations: 63.97 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3383, allocations: 4.125 kB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.3384, allocations: 35.92 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.3387, allocations: 13.48 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004706/0.3392, allocations: 169 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.3395, allocations: 0.6885 MB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.504e-05/0.3395, allocations: 8 kB / 1.034 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.3396, allocations: 15.42 kB / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3396, allocations: 0 / 1.034 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.004504/0.3441, allocations: 1.466 MB / 1.035 GB, free: 8.965 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile (rm -f Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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