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.001476/0.001476, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001442/0.001442, allocations: 215 kB / 20.13 MB, free: 2.949 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.696/1.696, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.222/3.222, allocations: 0.5003 GB / 0.8026 GB, free: 6.727 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_Table",fmuType="cs",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: 75.89 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464/1.467, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004349/1.471, allocations: 1.702 MB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001374/1.472, allocations: 0.6554 MB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/1.472, allocations: 5.406 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006913/1.473, allocations: 175.2 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005675/1.474, allocations: 211.7 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/1.474, allocations: 201.4 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003529/1.475, allocations: 216 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/1.475, allocations: 38.19 kB / 1.343 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/1.475, allocations: 90.36 kB / 1.343 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/1.475, allocations: 171 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.304e-05/1.475, allocations: 12.38 kB / 1.343 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/1.475, allocations: 42.06 kB / 1.344 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/1.476, allocations: 88.23 kB / 1.344 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/1.476, allocations: 98.78 kB / 1.344 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005962/1.476, allocations: 281.7 kB / 1.344 GB, free: 13.97 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/1.476, allocations: 1.094 kB / 1.344 GB, free: 13.97 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.387e-06/1.476, allocations: 0 / 1.344 GB, free: 13.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.857e-05/1.476, allocations: 4 kB / 1.344 GB, free: 13.97 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.001128/1.477, allocations: 0.6084 MB / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/1.478, allocations: 9.594 kB / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.266e-05/1.478, allocations: 1.312 kB / 1.345 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/1.478, allocations: 38.05 kB / 1.345 GB, free: 13.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.752e-05/1.478, allocations: 33.98 kB / 1.345 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000585/1.478, allocations: 384.7 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.478, allocations: 5.469 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/1.478, allocations: 11.16 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/1.479, allocations: 74.41 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.479, allocations: 1.281 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/1.479, allocations: 0 / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.479, allocations: 1.281 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/1.479, allocations: 53.83 kB / 1.345 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007169/1.48, allocations: 431 kB / 1.346 GB, free: 12.69 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/1.48, allocations: 52.5 kB / 1.346 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/1.48, allocations: 25.42 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/1.48, allocations: 0.7969 kB / 1.346 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/1.48, allocations: 39.72 kB / 1.346 GB, free: 12.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/1.48, allocations: 0 / 1.346 GB, free: 12.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004964/1.48, allocations: 123.8 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.48, allocations: 51.41 kB / 1.346 GB, free: 12.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008335/1.481, allocations: 0.529 MB / 1.346 GB, free: 12.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/1.481, allocations: 26.95 kB / 1.346 GB, free: 12.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/1.481, allocations: 176.5 kB / 1.347 GB, free: 12.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/1.481, allocations: 10.44 kB / 1.347 GB, free: 12.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/1.481, allocations: 13.44 kB / 1.347 GB, free: 12.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.482, allocations: 346.8 kB / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/1.482, allocations: 14.89 kB / 1.347 GB, free: 11.72 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/1.482, allocations: 20.52 kB / 1.347 GB, free: 11.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/1.482, allocations: 53.45 kB / 1.347 GB, free: 11.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.482, allocations: 0 / 1.347 GB, free: 11.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002456/1.482, allocations: 98.28 kB / 1.347 GB, free: 11.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/1.482, allocations: 6.766 kB / 1.347 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.482, allocations: 3.984 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/1.482, allocations: 1.656 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/1.482, allocations: 10.19 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.482, allocations: 4.734 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/1.482, allocations: 10.11 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/1.482, allocations: 1.406 kB / 1.347 GB, free: 11.62 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.0001449/1.483, allocations: 173.2 kB / 1.347 GB, free: 11.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.943e-05/1.483, allocations: 33.05 kB / 1.347 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/1.483, allocations: 117.4 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.483, allocations: 1.25 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.483, allocations: 4.641 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.483, allocations: 4 kB / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/1.483, allocations: 272.5 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.483, allocations: 0 / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.277e-05/1.483, allocations: 11.05 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/1.483, allocations: 0 / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/1.483, allocations: 1.812 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/1.483, allocations: 0.7969 kB / 1.348 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.483, allocations: 3.938 kB / 1.348 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/1.484, allocations: 199.9 kB / 1.348 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/1.484, allocations: 120.8 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/1.484, allocations: 5.406 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/1.484, allocations: 6.109 kB / 1.348 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/1.484, allocations: 15.61 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/1.484, allocations: 0.6562 kB / 1.348 GB, free: 10.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005762/1.485, allocations: 398.9 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.485, allocations: 5.125 kB / 1.348 GB, free: 10.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003641/1.485, allocations: 20.2 kB / 1.348 GB, free: 10.7 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.001858/1.487, allocations: 0.9822 MB / 1.349 GB, free: 9.922 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003216/1.487, allocations: 39.64 kB / 1.349 GB, free: 9.918 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.487, allocations: 0 / 1.349 GB, free: 9.918 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/1.487, allocations: 22.64 kB / 1.349 GB, free: 9.914 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/1.488, allocations: 49 kB / 1.35 GB, free: 9.887 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/1.492, allocations: 2.654 MB / 1.352 GB, free: 8.285 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/1.492, allocations: 0.7843 MB / 1.353 GB, free: 7.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001421/1.492, allocations: 37.89 kB / 1.353 GB, free: 7.562 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/1.492, allocations: 89.33 kB / 1.353 GB, free: 7.496 MB / 1.061 GB Notification: Performance of SimCode: time 8.22e-07/1.492, allocations: 1.125 kB / 1.353 GB, free: 7.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/1.533, allocations: 5.268 MB / 1.358 GB, free: 6.645 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.946/10.48, allocations: 24.23 kB / 1.358 GB, free: 6.625 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 17.968747698992956]