Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006624/0.006624, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001268/0.001268, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.84 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9252, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002305/0.9275, allocations: 1.482 MB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.9287, allocations: 0.7234 MB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.9287, allocations: 5.156 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.9288, allocations: 5.109 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/0.9289, allocations: 15 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.9294, allocations: 125.3 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.9295, allocations: 70.08 kB / 1.09 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.43e-05/0.9296, allocations: 11.41 kB / 1.09 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.9297, allocations: 42.73 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.9298, allocations: 36.91 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.9298, allocations: 7.188 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.93, allocations: 90.16 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.9301, allocations: 26.41 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.9301, allocations: 32.42 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.9304, allocations: 142.8 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9304, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9304, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.9304, allocations: 1.094 kB / 1.091 GB, free: 3.734 MB / 0.8575 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.0005909/0.931, allocations: 419.7 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.9311, allocations: 9.406 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.9311, allocations: 13.08 kB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.382e-05/0.9312, allocations: 173.8 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.9312, allocations: 7.812 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.9313, allocations: 7.656 kB / 1.091 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.9314, allocations: 76.42 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9315, allocations: 0 / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.9315, allocations: 5.891 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.9315, allocations: 1 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.9316, allocations: 35.19 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.9322, allocations: 315.2 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.9323, allocations: 49.36 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.9324, allocations: 40.97 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.9324, allocations: 0.7812 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.9326, allocations: 76.75 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.9326, allocations: 0.9062 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004098/0.933, allocations: 141.1 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.9331, allocations: 54.77 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/0.9332, allocations: 122.5 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.9332, allocations: 35.02 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.9332, allocations: 92.39 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.9332, allocations: 11.41 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/0.9333, allocations: 25.44 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.9334, allocations: 323.7 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.9334, allocations: 31.38 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.571e-05/0.9335, allocations: 50.69 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.9337, allocations: 71.73 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9337, allocations: 0.6875 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002412/0.934, allocations: 117.2 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.934, allocations: 4.812 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.934, allocations: 5.797 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.934, allocations: 0.9688 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.9341, allocations: 11.25 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9341, allocations: 1.5 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.9342, allocations: 13.23 kB / 1.093 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.9342, allocations: 4.625 kB / 1.093 GB, free: 1.746 MB / 0.8575 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 7.39e-05/0.9343, allocations: 127.2 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.9343, allocations: 7.594 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.9344, allocations: 10.97 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9344, allocations: 1.797 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9344, allocations: 0 / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.9344, allocations: 3.984 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.9348, allocations: 375 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.9348, allocations: 1.156 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.065e-05/0.9349, allocations: 4.719 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.9349, allocations: 0.9062 kB / 1.093 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.9349, allocations: 14.47 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.9349, allocations: 0.7188 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9349, allocations: 3.938 kB / 1.093 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.9352, allocations: 216.7 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.9352, allocations: 79.41 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.9352, allocations: 2.094 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.9353, allocations: 11.89 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.9354, allocations: 9.25 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.9354, allocations: 4.172 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.036e-05/0.9354, allocations: 95.38 kB / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9354, allocations: 0 / 1.094 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003214/0.9358, allocations: 46.12 kB / 1.094 GB, free: 0.8828 MB / 0.8575 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.0003237/0.9361, allocations: 167.3 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.9363, allocations: 68.91 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.9364, allocations: 0 / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.723e-05/0.9365, allocations: 36.84 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.9367, allocations: 14.05 kB / 1.094 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.9371, allocations: 188.8 kB / 1.094 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.9373, allocations: 0.6875 MB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.9374, allocations: 8.219 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.9374, allocations: 11.98 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9374, allocations: 0 / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.004782/0.9422, allocations: 1.46 MB / 1.096 GB, free: 15.72 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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