Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.00165/0.00165, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002038/0.002038, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.734 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.887/2.887, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 176] 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.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.002164/0.002164, allocations: 65.22 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2851, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002759/0.2878, allocations: 1.519 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2893, allocations: 0.7574 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.182e-05/0.2894, allocations: 4 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.2894, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.2895, allocations: 11.86 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.2901, allocations: 143.5 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2902, allocations: 83.77 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.2903, allocations: 8.188 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.2904, allocations: 47.83 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.762e-05/0.2905, allocations: 31.84 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.2905, allocations: 8 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.2908, allocations: 139.7 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.2908, allocations: 15.98 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.2909, allocations: 27.86 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.2911, allocations: 148.9 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2911, allocations: 0 / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2912, allocations: 0 / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2912, allocations: 4 kB / 1.285 GB, free: 9.441 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.0006621/0.2918, allocations: 359.5 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2919, allocations: 12.03 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.2919, allocations: 34.73 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.2922, allocations: 24.92 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.2925, allocations: 140.7 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.2925, allocations: 4.375 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.2925, allocations: 8.375 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.2927, allocations: 69.59 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2927, allocations: 0 / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.2927, allocations: 8 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2927, allocations: 0 / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.2929, allocations: 39.97 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.2935, allocations: 271.9 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.2936, allocations: 50.5 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.2937, allocations: 28.97 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2937, allocations: 4 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.2939, allocations: 71.38 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.2939, allocations: 0 / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004246/0.2943, allocations: 145.5 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.2944, allocations: 55.34 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.2945, allocations: 126.1 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.2945, allocations: 29.7 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.2946, allocations: 92.17 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.2946, allocations: 27.81 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.2947, allocations: 29.7 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2948, allocations: 318.8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.2949, allocations: 23.98 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.877e-05/0.295, allocations: 50.55 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.2952, allocations: 82.42 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2952, allocations: 0 / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000248/0.2954, allocations: 113.5 kB / 1.288 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2955, allocations: 6.188 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.2955, allocations: 0 / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2955, allocations: 4 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/0.2956, allocations: 8 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.2956, allocations: 4.375 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.26e-05/0.2956, allocations: 8.062 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.2957, allocations: 11.94 kB / 1.288 GB, free: 7.008 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.0001131/0.2958, allocations: 117.8 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.2958, allocations: 7.953 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.2958, allocations: 12.36 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2958, allocations: 4 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2958, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2958, allocations: 0 / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004932/0.2963, allocations: 353.5 kB / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2963, allocations: 0 / 1.288 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.2964, allocations: 7.984 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2964, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2964, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.2964, allocations: 7.938 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2964, allocations: 0 / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.2967, allocations: 211.5 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.2967, allocations: 11.89 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.2967, allocations: 4 kB / 1.288 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.2968, allocations: 15.94 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.2969, allocations: 7.969 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.2969, allocations: 7.938 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.647e-05/0.297, allocations: 93.02 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.297, allocations: 0 / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003189/0.2973, allocations: 43.92 kB / 1.288 GB, free: 6.043 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.0009007/0.2982, allocations: 0.8089 MB / 1.289 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002318/0.2984, allocations: 67.89 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2984, allocations: 0 / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.1e-05/0.2985, allocations: 31.98 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.2988, allocations: 22.14 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.3006, allocations: 1.505 MB / 1.291 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.086e-05/0.3007, allocations: 75.27 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.721e-05/0.3007, allocations: 4 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.3007, allocations: 23.42 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.3007, allocations: 4 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.3309, allocations: 3.249 MB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.85, allocations: 7.25 kB / 1.294 GB, free: 292 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable win.occ in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_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: 18.744481169618666]