Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.001337/0.001337, allocations: 111 kB / 16.46 MB, free: 6.453 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.001522/0.001522, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.56/1.56, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.78/2.78, allocations: 476.7 MB / 0.7672 GB, free: 5.238 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.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.002049/0.002049, allocations: 69.92 kB / 1.112 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9204/0.9224, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.00296/0.9254, allocations: 1.552 MB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.927, allocations: 0.8274 MB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.9271, allocations: 0 / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.9271, allocations: 11.88 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.9272, allocations: 15.86 kB / 1.281 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.9278, allocations: 147.5 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.928, allocations: 107.7 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.928, allocations: 16 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.9282, allocations: 47.89 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.31e-05/0.9283, allocations: 55.8 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.9283, allocations: 12 kB / 1.281 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.9285, allocations: 115.8 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.9286, allocations: 23.91 kB / 1.281 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.9286, allocations: 47.83 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.9289, allocations: 173.4 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.9289, allocations: 0 / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9289, allocations: 0 / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.9289, allocations: 0 / 1.281 GB, free: 10.29 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006822/0.9296, allocations: 462.3 kB / 1.282 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.9296, allocations: 11.97 kB / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.9297, allocations: 46.67 kB / 1.282 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005052/0.9302, allocations: 40.86 kB / 1.282 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.9304, allocations: 192.2 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.9304, allocations: 4.375 kB / 1.282 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.9305, allocations: 4.375 kB / 1.282 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.9307, allocations: 93.75 kB / 1.282 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.9307, allocations: 4 kB / 1.282 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.9308, allocations: 3.984 kB / 1.282 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.9308, allocations: 0 / 1.282 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.9309, allocations: 51.84 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.9317, allocations: 348.6 kB / 1.283 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.9319, allocations: 58.58 kB / 1.283 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.932, allocations: 44.83 kB / 1.283 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.9321, allocations: 160 / 1.283 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.9323, allocations: 99.34 kB / 1.283 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.9323, allocations: 0 / 1.283 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006023/0.9329, allocations: 189.5 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.933, allocations: 63.34 kB / 1.283 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.9331, allocations: 121.8 kB / 1.283 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.9331, allocations: 33.7 kB / 1.283 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.9332, allocations: 100.1 kB / 1.283 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.9332, allocations: 15.89 kB / 1.283 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.9333, allocations: 33.7 kB / 1.283 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.9334, allocations: 322.8 kB / 1.284 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.454e-05/0.9335, allocations: 27.98 kB / 1.284 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.9336, allocations: 69.52 kB / 1.284 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.9338, allocations: 96.19 kB / 1.284 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.9338, allocations: 4 kB / 1.284 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002766/0.9341, allocations: 125.5 kB / 1.284 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.9341, allocations: 8 kB / 1.284 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9341, allocations: 0 / 1.284 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.9342, allocations: 4 kB / 1.284 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.9343, allocations: 15.98 kB / 1.284 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9343, allocations: 4 kB / 1.284 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.957e-05/0.9344, allocations: 15.88 kB / 1.284 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.9344, allocations: 7.938 kB / 1.284 GB, free: 7.348 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,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.0001114/0.9345, allocations: 133.9 kB / 1.284 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.9345, allocations: 7.953 kB / 1.284 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.9346, allocations: 16.36 kB / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.9346, allocations: 0 / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.9346, allocations: 0 / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9346, allocations: 0 / 1.284 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.9352, allocations: 426.4 kB / 1.284 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9352, allocations: 4 kB / 1.284 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/0.9353, allocations: 3.984 kB / 1.284 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.9353, allocations: 7.938 kB / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.9353, allocations: 0 / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9353, allocations: 0 / 1.284 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.9353, allocations: 8 kB / 1.284 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.9357, allocations: 251.4 kB / 1.285 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.9358, allocations: 85.06 kB / 1.285 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.9358, allocations: 0 / 1.285 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.9359, allocations: 11.92 kB / 1.285 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.936, allocations: 11.94 kB / 1.285 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.936, allocations: 7.984 kB / 1.285 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.97e-05/0.9361, allocations: 101.9 kB / 1.285 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9361, allocations: 0 / 1.285 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003251/0.9364, allocations: 35.94 kB / 1.285 GB, free: 6.156 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001047/0.9374, allocations: 0.8467 MB / 1.286 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.9377, allocations: 92.42 kB / 1.286 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9377, allocations: 0 / 1.286 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.9379, allocations: 47.91 kB / 1.286 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.9382, allocations: 16.06 kB / 1.286 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.9401, allocations: 1.607 MB / 1.288 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.9404, allocations: 0.6885 MB / 1.288 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.081e-05/0.9405, allocations: 7.984 kB / 1.288 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.9405, allocations: 19.44 kB / 1.288 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.9405, allocations: 0 / 1.288 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.9746, allocations: 3.064 MB / 1.291 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.372/9.347, allocations: 5.656 kB / 1.291 GB, free: 15.75 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_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_Yun2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.occ from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! Error: Could not read variable win.on in file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv. Warning: Get data of variable win.on from file Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.csv failed! " [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:time,win.TIn,win.pClose,win.pOpen,TIn.amplitude,TIn.f [Calling sys.exit(0), Time elapsed: 15.605070395860821]