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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 104.2 kB / 16.4 MB, free: 6.492 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.002791/0.002791, allocations: 195.7 kB / 19.35 MB, free: 3.734 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.453/1.453, allocations: 222.9 MB / 245.1 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.817/2.817, allocations: 469.8 MB / 0.7491 GB, free: 2.977 MB / 0.6075 GB " [Timeout remaining time 177] 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: "" <> 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: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 71.88 kB / 1.073 GB, free: 136 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8191, allocations: 159.1 MB / 1.229 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002671/0.8218, allocations: 1.488 MB / 1.23 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.8232, allocations: 0.7295 MB / 1.231 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.401e-05/0.8232, allocations: 0 / 1.231 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.8233, allocations: 7.875 kB / 1.231 GB, free: 2.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.8233, allocations: 7.922 kB / 1.231 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005455/0.8239, allocations: 123.6 kB / 1.231 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000125/0.824, allocations: 79.77 kB / 1.231 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.8241, allocations: 15.94 kB / 1.231 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.041e-05/0.8242, allocations: 39.91 kB / 1.231 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.8243, allocations: 43.83 kB / 1.231 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.8243, allocations: 4 kB / 1.231 GB, free: 2.254 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.8245, allocations: 95.84 kB / 1.231 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/0.8246, allocations: 15.92 kB / 1.231 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.8246, allocations: 31.86 kB / 1.231 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.8249, allocations: 145.3 kB / 1.231 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8249, allocations: 0 / 1.231 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8249, allocations: 0 / 1.231 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.309e-06/0.8249, allocations: 8 kB / 1.231 GB, free: 1.965 MB / 0.9356 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.0006697/0.8256, allocations: 416.7 kB / 1.232 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8257, allocations: 12.03 kB / 1.232 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.786e-05/0.8257, allocations: 34.75 kB / 1.232 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.8258, allocations: 12.88 kB / 1.232 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.8259, allocations: 172.3 kB / 1.232 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.8259, allocations: 4.375 kB / 1.232 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.826, allocations: 8.375 kB / 1.232 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.8262, allocations: 69.78 kB / 1.232 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.8262, allocations: 7.875 kB / 1.232 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.8262, allocations: 0 / 1.232 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.8262, allocations: 4 kB / 1.232 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.8264, allocations: 39.91 kB / 1.232 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006835/0.8271, allocations: 316.7 kB / 1.232 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.8272, allocations: 46.55 kB / 1.232 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.8273, allocations: 32.97 kB / 1.232 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.8273, allocations: 3.938 kB / 1.232 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.8276, allocations: 79.45 kB / 1.233 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.496e-06/0.8276, allocations: 7.984 kB / 1.233 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004308/0.828, allocations: 137.6 kB / 1.233 GB, free: 412 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.8281, allocations: 55.41 kB / 1.233 GB, free: 344 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.8282, allocations: 133.7 kB / 1.233 GB, free: 200 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.8283, allocations: 25.7 kB / 1.233 GB, free: 168 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.731e-05/0.8284, allocations: 96.08 kB / 1.233 GB, free: 68 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.8284, allocations: 15.89 kB / 1.233 GB, free: 52 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.8285, allocations: 29.72 kB / 1.233 GB, free: 16 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.8286, allocations: 322.8 kB / 1.233 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.8287, allocations: 23.98 kB / 1.233 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.8289, allocations: 46.55 kB / 1.233 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.829, allocations: 74.56 kB / 1.233 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.8291, allocations: 7.938 kB / 1.233 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002574/0.8293, allocations: 113.5 kB / 1.234 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.8293, allocations: 4 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.8294, allocations: 4 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8294, allocations: 0 / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.8295, allocations: 11.98 kB / 1.234 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.8295, allocations: 0 / 1.234 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.8296, allocations: 23.92 kB / 1.234 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.8296, allocations: 4 kB / 1.234 GB, free: 15.36 MB / 0.9512 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.0001067/0.8297, allocations: 120.4 kB / 1.234 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.8297, allocations: 7.953 kB / 1.234 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.8298, allocations: 16.31 kB / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.8298, allocations: 0 / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.8298, allocations: 0 / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.8298, allocations: 3.984 kB / 1.234 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.8303, allocations: 382.8 kB / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8304, allocations: 0 / 1.234 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.8304, allocations: 8 kB / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.8304, allocations: 0 / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.8304, allocations: 4 kB / 1.234 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.8304, allocations: 3.938 kB / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8304, allocations: 7.953 kB / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.8308, allocations: 207.5 kB / 1.234 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.8308, allocations: 85.06 kB / 1.234 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.8308, allocations: 4 kB / 1.234 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.831, allocations: 11.92 kB / 1.234 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.831, allocations: 0 / 1.234 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.831, allocations: 7.984 kB / 1.234 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.199e-05/0.8311, allocations: 87.28 kB / 1.235 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8311, allocations: 0 / 1.235 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003032/0.8314, allocations: 47.86 kB / 1.235 GB, free: 14.27 MB / 0.9512 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.0009106/0.8323, allocations: 0.8066 MB / 1.235 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.8326, allocations: 75.89 kB / 1.235 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8326, allocations: 0 / 1.235 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.8327, allocations: 31.98 kB / 1.236 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.833, allocations: 19.86 kB / 1.236 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.8348, allocations: 1.497 MB / 1.237 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.8351, allocations: 0.6924 MB / 1.238 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.8352, allocations: 8.469 kB / 1.238 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.8352, allocations: 19.42 kB / 1.238 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.8352, allocations: 4 kB / 1.238 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.86, allocations: 2.65 MB / 1.24 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/9.068, allocations: 2.375 kB / 1.24 GB, free: 8.484 MB / 0.9512 GB " [Timeout remaining time 291] (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_2/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.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: 15.138126580044627]