Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.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.001333/0.001333, 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.001521/0.001521, allocations: 213.8 kB / 22.25 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.44/3.44, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",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.002161/0.002161, allocations: 66.86 kB / 1.186 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4135, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003808/0.4173, allocations: 1.677 MB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.4189, allocations: 0.6403 MB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.4191, allocations: 7.938 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007997/0.4199, allocations: 177.7 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.4206, allocations: 208.9 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.4212, allocations: 196.7 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004216/0.4216, allocations: 219.4 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.4218, allocations: 30.02 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.422, allocations: 87.66 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.4223, allocations: 175.5 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.4224, allocations: 15.94 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.4225, allocations: 39.98 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.4227, allocations: 79.73 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.4228, allocations: 75.36 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004394/0.4232, allocations: 278.8 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4232, allocations: 4 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4232, allocations: 4 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.4232, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 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.001203/0.4244, allocations: 0.5353 MB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4245, allocations: 8.031 kB / 1.368 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.4245, allocations: 30.75 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.4246, allocations: 36.7 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006406/0.4253, allocations: 320.8 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.4253, allocations: 4.375 kB / 1.368 GB, free: 9.168 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.4253, allocations: 4.375 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.4255, allocations: 81.53 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4255, allocations: 0 / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4256, allocations: 8 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4256, allocations: 3.984 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.4258, allocations: 47.95 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.4265, allocations: 387.6 kB / 1.369 GB, free: 8.598 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.4267, allocations: 46.56 kB / 1.369 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.4268, allocations: 28.89 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.4268, allocations: 0 / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.4269, allocations: 38.5 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.4269, allocations: 0 / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004891/0.4274, allocations: 121.5 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.4274, allocations: 51.41 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007008/0.4281, allocations: 0.5328 MB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.4282, allocations: 29.7 kB / 1.369 GB, free: 7.699 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.4283, allocations: 172 kB / 1.37 GB, free: 7.527 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.4283, allocations: 7.891 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.4284, allocations: 17.72 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.4286, allocations: 346.8 kB / 1.37 GB, free: 7.148 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.4287, allocations: 15.98 kB / 1.37 GB, free: 7.133 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.679e-05/0.4288, allocations: 15.98 kB / 1.37 GB, free: 7.117 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.4289, allocations: 52.75 kB / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4289, allocations: 0 / 1.37 GB, free: 7.062 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002742/0.4292, allocations: 109.4 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.4292, allocations: 4 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4292, allocations: 0 / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.4293, allocations: 0 / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.831e-05/0.4294, allocations: 11.98 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4294, allocations: 0 / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.496e-05/0.4295, allocations: 15.92 kB / 1.37 GB, free: 6.918 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.4295, allocations: 4 kB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001842/0.4296, allocations: 165.8 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.4297, allocations: 27.81 kB / 1.37 GB, free: 6.715 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.43, allocations: 116.2 kB / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.43, allocations: 0 / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.43, allocations: 0 / 1.37 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.43, allocations: 3.938 kB / 1.37 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.4304, allocations: 220.7 kB / 1.371 GB, free: 6.332 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4304, allocations: 4 kB / 1.371 GB, free: 6.328 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.4304, allocations: 11.98 kB / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4304, allocations: 0 / 1.371 GB, free: 6.316 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.4304, allocations: 4 kB / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4304, allocations: 0 / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4304, allocations: 384 / 1.371 GB, free: 6.312 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.4308, allocations: 219.2 kB / 1.371 GB, free: 6.082 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.4309, allocations: 31.81 kB / 1.371 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.4309, allocations: 11.94 kB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.431, allocations: 11.98 kB / 1.371 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.431, allocations: 7.938 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.431, allocations: 3.984 kB / 1.371 GB, free: 6.016 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006483/0.4317, allocations: 399.1 kB / 1.371 GB, free: 5.625 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4317, allocations: 0 / 1.371 GB, free: 5.625 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002774/0.432, allocations: 23.94 kB / 1.371 GB, free: 5.602 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.002068/0.434, allocations: 0.9982 MB / 1.372 GB, free: 4.73 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.4343, allocations: 47.89 kB / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4343, allocations: 0 / 1.372 GB, free: 4.684 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/0.4344, allocations: 27.97 kB / 1.372 GB, free: 4.656 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.4349, allocations: 51.17 kB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/0.4389, allocations: 2.654 MB / 1.375 GB, free: 1.879 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.4392, allocations: 173.8 kB / 1.375 GB, free: 1.691 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.4393, allocations: 37.92 kB / 1.375 GB, free: 1.656 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.4395, allocations: 87.41 kB / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/0.4395, allocations: 0 / 1.375 GB, free: 1.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.4787, allocations: 5.91 MB / 1.381 GB, free: 11.71 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.01, allocations: 6 kB / 1.381 GB, free: 11.71 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.36071374733001]