Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001287/0.001287, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001178/0.001178, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.188 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.323/2.323, allocations: 443.5 MB / 0.7304 GB, free: 14 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.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 59.91 kB / 1.059 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2583, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU): time 0.002351/0.2607, allocations: 1.497 MB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2618, allocations: 0.7528 MB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.2619, allocations: 0 / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.2619, allocations: 7.922 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.404e-05/0.262, allocations: 11.88 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.2624, allocations: 123.6 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.2625, allocations: 79.72 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.487e-05/0.2626, allocations: 15.97 kB / 1.218 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.555e-05/0.2627, allocations: 27.92 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.2627, allocations: 43.81 kB / 1.218 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2628, allocations: 8 kB / 1.218 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.2629, allocations: 103.8 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.263, allocations: 15.98 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.263, allocations: 27.86 kB / 1.218 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.2632, allocations: 143.8 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2632, allocations: 3.938 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2632, allocations: 0 / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2632, allocations: 0 / 1.218 GB, free: 13.07 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.0005872/0.2638, allocations: 432.6 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2638, allocations: 12.03 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.2639, allocations: 30.75 kB / 1.219 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.2639, allocations: 12.89 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.264, allocations: 180.2 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.2641, allocations: 4.375 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2641, allocations: 8.359 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2642, allocations: 69.78 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2643, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2643, allocations: 4 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2643, allocations: 4 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.2644, allocations: 43.97 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.2649, allocations: 312.7 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.2651, allocations: 38.56 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.2651, allocations: 28.97 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.2652, allocations: 8.062 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.2653, allocations: 79.38 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/0.2653, allocations: 7.922 kB / 1.22 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000373/0.2657, allocations: 141.5 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.2657, allocations: 55.41 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.751e-05/0.2658, allocations: 121.8 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.2659, allocations: 29.7 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.2659, allocations: 96.08 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.2659, allocations: 19.83 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.266, allocations: 33.7 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2661, allocations: 318.8 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.2662, allocations: 27.97 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.2663, allocations: 46.56 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.2664, allocations: 74.48 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2664, allocations: 0 / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000232/0.2667, allocations: 113.5 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2667, allocations: 4.062 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2667, allocations: 8 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2667, allocations: 0 / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.2668, allocations: 11.98 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.2668, allocations: 3.938 kB / 1.221 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.2669, allocations: 8 kB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2669, allocations: 4 kB / 1.221 GB, free: 10.47 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 9.105e-05/0.267, allocations: 117.8 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.267, allocations: 15.94 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.267, allocations: 8.375 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.267, allocations: 4 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.267, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.267, allocations: 0 / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004443/0.2675, allocations: 386.7 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2675, allocations: 0 / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.2675, allocations: 4 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2675, allocations: 3.938 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2675, allocations: 11.98 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2675, allocations: 7.938 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2675, allocations: 0 / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.2678, allocations: 199.6 kB / 1.221 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.2678, allocations: 89.05 kB / 1.221 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.2679, allocations: 3.938 kB / 1.221 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.846e-05/0.2679, allocations: 15.94 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.268, allocations: 7.984 kB / 1.221 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.268, allocations: 4 kB / 1.221 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.2681, allocations: 91.27 kB / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2681, allocations: 0 / 1.222 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002708/0.2683, allocations: 39.88 kB / 1.222 GB, free: 9.379 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.0007646/0.2691, allocations: 0.8005 MB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.2693, allocations: 71.89 kB / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2693, allocations: 0 / 1.222 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.649e-05/0.2694, allocations: 40.05 kB / 1.222 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2696, allocations: 7.938 kB / 1.222 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2712, allocations: 1.492 MB / 1.224 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.2715, allocations: 0.6885 MB / 1.225 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.407e-05/0.2715, allocations: 7.984 kB / 1.225 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.2716, allocations: 19.44 kB / 1.225 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of SimCode: time 4e-07/0.2716, allocations: 3.938 kB / 1.225 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.2959, allocations: 2.646 MB / 1.227 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.047/7.343, allocations: 7.984 kB / 1.227 GB, free: 3.562 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset [Calling sys.exit(0), Time elapsed: 12.578656871999556]