Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.001563/0.001563, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001578/0.001578, allocations: 213.4 kB / 22.25 MB, free: 4.855 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.805 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.847/2.847, allocations: 476 MB / 0.7699 GB, free: 4.773 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.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.002121/0.002121, allocations: 67.33 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3166, allocations: 169.9 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003835/0.3204, allocations: 1.636 MB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.3221, allocations: 0.8432 MB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.3222, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.3223, allocations: 7.875 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.397e-05/0.3223, allocations: 27.72 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.323, allocations: 187.5 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.3232, allocations: 159.5 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.3233, allocations: 17.3 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.3235, allocations: 75.75 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.3236, allocations: 71.72 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.3236, allocations: 12 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.3239, allocations: 143.8 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.57e-05/0.324, allocations: 39.88 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.324, allocations: 43.78 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.3244, allocations: 232.6 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3244, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3244, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.3244, allocations: 4 kB / 1.286 GB, free: 9 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008553/0.3252, allocations: 480.3 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3253, allocations: 12.03 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.774e-05/0.3253, allocations: 34.75 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000685/0.326, allocations: 92.69 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.3263, allocations: 150.3 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.3263, allocations: 12.36 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.3264, allocations: 8.359 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.3268, allocations: 149.6 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3268, allocations: 4 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.3268, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3269, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003948/0.3272, allocations: 103.9 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.328, allocations: 327.7 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.3283, allocations: 102.4 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.3286, allocations: 88.77 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3287, allocations: 0 / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004076/0.3291, allocations: 139.4 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3291, allocations: 3.938 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.00111/0.3302, allocations: 313.3 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3302, allocations: 59.34 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3304, allocations: 156.4 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3304, allocations: 29.7 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.3305, allocations: 100.4 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.3305, allocations: 27.78 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.3306, allocations: 29.7 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3307, allocations: 326.8 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.3308, allocations: 39.97 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.331, allocations: 85.12 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.3313, allocations: 125 kB / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3313, allocations: 0 / 1.289 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003635/0.3316, allocations: 157.4 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3316, allocations: 8.375 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3316, allocations: 0 / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3317, allocations: 4 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3318, allocations: 23.91 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3318, allocations: 7.938 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.3319, allocations: 19.95 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.3319, allocations: 16.05 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001154/0.332, allocations: 125.3 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3321, allocations: 7.953 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.3321, allocations: 16.72 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3321, allocations: 0 / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.3321, allocations: 4.078 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3321, allocations: 3.984 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.3332, allocations: 0.4896 MB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3332, allocations: 0 / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.327e-05/0.3332, allocations: 15.98 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3332, allocations: 0 / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.3333, allocations: 3.984 kB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.3333, allocations: 7.938 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3333, allocations: 0 / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/0.3341, allocations: 327.3 kB / 1.29 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.3341, allocations: 15.91 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.3341, allocations: 11.92 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.3343, allocations: 27.91 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.3344, allocations: 3.984 kB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3344, allocations: 4 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.504e-05/0.3345, allocations: 118.8 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3345, allocations: 0 / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003246/0.3348, allocations: 47.92 kB / 1.29 GB, free: 4.285 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.001394/0.3362, allocations: 0.9333 MB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005234/0.3367, allocations: 131.8 kB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3367, allocations: 0 / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.3371, allocations: 92.11 kB / 1.291 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.3373, allocations: 17.81 kB / 1.291 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.3398, allocations: 1.795 MB / 1.293 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.302e-05/0.3398, allocations: 93.05 kB / 1.293 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.181e-05/0.3399, allocations: 12.84 kB / 1.293 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.34, allocations: 35.41 kB / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.34, allocations: 0 / 1.293 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.3743, allocations: 4.196 MB / 1.297 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.08, allocations: 10.8 kB / 1.297 GB, free: 13 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_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_Rijal2007WindowsTInTOutTComf.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.866395726799965]