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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 208.1 kB / 22.25 MB, free: 5.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.869/2.869, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 68.61 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3339, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.003035/0.3369, allocations: 1.518 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.3385, allocations: 0.8158 MB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.3386, allocations: 0 / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.3386, allocations: 7.922 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.15e-05/0.3387, allocations: 15.86 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000686/0.3394, allocations: 139.5 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3395, allocations: 87.69 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.399e-05/0.3396, allocations: 8.188 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3397, allocations: 43.84 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.3398, allocations: 39.83 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.3398, allocations: 4 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.3401, allocations: 147.8 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.3402, allocations: 19.97 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.014e-05/0.3402, allocations: 35.8 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.3405, allocations: 147 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3405, allocations: 0 / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3405, allocations: 4 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3405, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 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.0006495/0.3412, allocations: 359.5 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3412, allocations: 8.031 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.291e-05/0.3412, allocations: 34.73 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003252/0.3416, allocations: 32.88 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3418, allocations: 134.4 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.3419, allocations: 4.375 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3419, allocations: 8.375 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.3421, allocations: 73.59 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3421, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3421, allocations: 4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3421, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3422, allocations: 43.84 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.3429, allocations: 283.9 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.343, allocations: 42.56 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3431, allocations: 36.95 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3431, allocations: 3.984 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.3433, allocations: 79.38 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.3433, allocations: 4 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004017/0.3437, allocations: 137.6 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3438, allocations: 55.41 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.3439, allocations: 123.2 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3439, allocations: 29.7 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.344, allocations: 92.09 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.344, allocations: 15.84 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.3441, allocations: 29.7 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3442, allocations: 326.8 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.3443, allocations: 27.98 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.874e-05/0.3444, allocations: 50.48 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3446, allocations: 74.55 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3446, allocations: 0 / 1.288 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000253/0.3448, allocations: 113.5 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3448, allocations: 7.938 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3448, allocations: 0 / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3448, allocations: 4 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.3449, allocations: 15.92 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3449, allocations: 0 / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.345, allocations: 8.062 kB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.345, allocations: 11.92 kB / 1.288 GB, free: 6.258 MB / 0.9825 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.0001055/0.3451, allocations: 117.8 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.3451, allocations: 11.89 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.3452, allocations: 4.375 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3452, allocations: 4 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3452, allocations: 0 / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3452, allocations: 3.984 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.3457, allocations: 357.8 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3457, allocations: 0 / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.3457, allocations: 7.984 kB / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3457, allocations: 0 / 1.289 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3457, allocations: 4 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3458, allocations: 3.938 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3458, allocations: 80 / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003343/0.3461, allocations: 215.4 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.3461, allocations: 11.89 kB / 1.289 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.3461, allocations: 4 kB / 1.289 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.249e-05/0.3462, allocations: 11.92 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3463, allocations: 8 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3463, allocations: 0 / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.961e-05/0.3463, allocations: 99.64 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3463, allocations: 4 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000326/0.3467, allocations: 39.92 kB / 1.289 GB, free: 5.293 MB / 0.9825 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.0009808/0.3476, allocations: 0.808 MB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.3479, allocations: 67.95 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3479, allocations: 3.938 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/0.348, allocations: 31.97 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3482, allocations: 16.81 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3501, allocations: 1.504 MB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.3504, allocations: 0.6846 MB / 1.292 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.882e-05/0.3505, allocations: 12.45 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.932e-05/0.3506, allocations: 19.44 kB / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3506, allocations: 0 / 1.292 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.3798, allocations: 2.828 MB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.58, allocations: 9.828 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 420.0] 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) [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.continuous,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: 18.28161330311559]