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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 105.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 443.5 MB / 0.7287 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 63.89 kB / 1.056 GB, free: 2.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.345, allocations: 160.7 MB / 1.213 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.003304/0.3483, allocations: 1.497 MB / 1.214 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3499, allocations: 0.737 MB / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.35, allocations: 0 / 1.215 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.949e-05/0.35, allocations: 15.86 kB / 1.215 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.988e-05/0.3501, allocations: 3.938 kB / 1.215 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006952/0.3508, allocations: 131.5 kB / 1.215 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.3509, allocations: 71.78 kB / 1.215 GB, free: 14.94 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.351, allocations: 11.98 kB / 1.215 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3511, allocations: 35.84 kB / 1.215 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.3512, allocations: 35.89 kB / 1.215 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.3512, allocations: 11.94 kB / 1.215 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.3515, allocations: 103.9 kB / 1.215 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.3515, allocations: 19.98 kB / 1.215 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.3516, allocations: 31.86 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.3519, allocations: 143.8 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3519, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3519, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.393e-06/0.3519, allocations: 7.938 kB / 1.216 GB, free: 14.55 MB / 0.9669 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.0007755/0.3527, allocations: 420.7 kB / 1.216 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3527, allocations: 12.03 kB / 1.216 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.443e-05/0.3528, allocations: 34.75 kB / 1.216 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.3528, allocations: 12.89 kB / 1.216 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.353, allocations: 180.2 kB / 1.216 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.353, allocations: 8.312 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.353, allocations: 4.375 kB / 1.216 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3533, allocations: 73.72 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3533, allocations: 0 / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3533, allocations: 0 / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3533, allocations: 4 kB / 1.216 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3534, allocations: 39.97 kB / 1.216 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/0.3543, allocations: 308.8 kB / 1.217 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3544, allocations: 42.56 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.3545, allocations: 32.91 kB / 1.217 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3545, allocations: 8 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.3548, allocations: 75.44 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.3548, allocations: 0 / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.00043/0.3552, allocations: 141.6 kB / 1.217 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.3553, allocations: 51.41 kB / 1.217 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3554, allocations: 125.7 kB / 1.217 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.3555, allocations: 29.7 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3556, allocations: 100.1 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3556, allocations: 15.84 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.3557, allocations: 29.7 kB / 1.217 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3559, allocations: 322.8 kB / 1.218 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.356, allocations: 27.98 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3561, allocations: 46.56 kB / 1.218 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3562, allocations: 78.47 kB / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3562, allocations: 0 / 1.218 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002748/0.3565, allocations: 109.5 kB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.3565, allocations: 8.062 kB / 1.218 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3565, allocations: 4 kB / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.3566, allocations: 0 / 1.218 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.3567, allocations: 15.98 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3567, allocations: 400 / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.355e-05/0.3568, allocations: 4 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.3568, allocations: 4 kB / 1.218 GB, free: 11.97 MB / 0.9669 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.0001177/0.357, allocations: 125.7 kB / 1.218 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.357, allocations: 11.95 kB / 1.218 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.357, allocations: 12.38 kB / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.357, allocations: 0 / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.357, allocations: 0 / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.357, allocations: 0 / 1.218 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.3576, allocations: 390.3 kB / 1.218 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3576, allocations: 0 / 1.218 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.3576, allocations: 7.984 kB / 1.218 GB, free: 11.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.3576, allocations: 7.938 kB / 1.218 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3576, allocations: 11.94 kB / 1.218 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3576, allocations: 7.875 kB / 1.218 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3576, allocations: 0 / 1.218 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.3579, allocations: 199.5 kB / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.358, allocations: 93.05 kB / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.358, allocations: 0 / 1.219 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.3581, allocations: 7.938 kB / 1.219 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.3582, allocations: 11.98 kB / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.3582, allocations: 0 / 1.219 GB, free: 11 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.403e-05/0.3582, allocations: 91.92 kB / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3582, allocations: 0 / 1.219 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003259/0.3586, allocations: 43.92 kB / 1.219 GB, free: 10.87 MB / 0.9669 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.00101/0.3596, allocations: 0.8035 MB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.3599, allocations: 67.89 kB / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3599, allocations: 0 / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.722e-05/0.36, allocations: 40.05 kB / 1.22 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3602, allocations: 15.92 kB / 1.22 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.3621, allocations: 1.485 MB / 1.221 GB, free: 8.352 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.3625, allocations: 0.6924 MB / 1.222 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.506e-05/0.3626, allocations: 7.984 kB / 1.222 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.3626, allocations: 19.44 kB / 1.222 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.3626, allocations: 0 / 1.222 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.39, allocations: 2.678 MB / 1.225 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.485, allocations: 7.172 kB / 1.225 GB, free: 5.074 MB / 0.9669 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 14.54091183329001]