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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 107.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.564/3.564, allocations: 497.2 MB / 0.7811 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 60.31 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4229, allocations: 173.9 MB / 1.304 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003492/0.4264, allocations: 1.663 MB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.4274, allocations: 0.5343 MB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.68e-05/0.4275, allocations: 3.938 kB / 1.306 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005875/0.4281, allocations: 180.8 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.4285, allocations: 160.7 kB / 1.306 GB, free: 14.94 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000462/0.4289, allocations: 194.9 kB / 1.307 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.4292, allocations: 187.6 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.4293, allocations: 25.48 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.4294, allocations: 83.67 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.4297, allocations: 171.5 kB / 1.307 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.4297, allocations: 16 kB / 1.307 GB, free: 14.28 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.4298, allocations: 43.98 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.4299, allocations: 79.69 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.43, allocations: 103.2 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.4304, allocations: 262.8 kB / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4304, allocations: 0 / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4304, allocations: 0 / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.4304, allocations: 7.938 kB / 1.308 GB, free: 13.79 MB / 1.014 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.0009109/0.4313, allocations: 0.5873 MB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4313, allocations: 12.62 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.4314, allocations: 38.73 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.4314, allocations: 28.75 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.432, allocations: 370.7 kB / 1.309 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.432, allocations: 12.38 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.432, allocations: 384 / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.4322, allocations: 81.53 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4322, allocations: 0 / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4322, allocations: 3.984 kB / 1.309 GB, free: 12.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4322, allocations: 4 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.4324, allocations: 51.94 kB / 1.309 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.433, allocations: 424.6 kB / 1.309 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.4332, allocations: 54.5 kB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.4333, allocations: 28.89 kB / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4333, allocations: 0 / 1.309 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.4333, allocations: 30.56 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.4333, allocations: 0 / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.000401/0.4337, allocations: 121.5 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.4338, allocations: 55.41 kB / 1.309 GB, free: 11.72 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/0.4344, allocations: 0.5171 MB / 1.31 GB, free: 11.2 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.4344, allocations: 25.7 kB / 1.31 GB, free: 11.16 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.4345, allocations: 164 kB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.4345, allocations: 7.953 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.4346, allocations: 17.7 kB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4347, allocations: 342.8 kB / 1.31 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.4348, allocations: 19.98 kB / 1.31 GB, free: 10.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.4349, allocations: 27.91 kB / 1.31 GB, free: 10.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.4351, allocations: 36.83 kB / 1.31 GB, free: 10.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4351, allocations: 0 / 1.31 GB, free: 10.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000232/0.4353, allocations: 105.4 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.4353, allocations: 4 kB / 1.311 GB, free: 10.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.4353, allocations: 4 kB / 1.311 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4353, allocations: 0 / 1.311 GB, free: 10.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.052e-05/0.4354, allocations: 11.98 kB / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4354, allocations: 0 / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.4355, allocations: 15.88 kB / 1.311 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.4355, allocations: 4 kB / 1.311 GB, free: 10.39 MB / 1.014 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.0001722/0.4357, allocations: 165.8 kB / 1.311 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.4358, allocations: 31.81 kB / 1.311 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.436, allocations: 112 kB / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.436, allocations: 4 kB / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4361, allocations: 0 / 1.311 GB, free: 10.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4361, allocations: 3.938 kB / 1.311 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.4363, allocations: 261.5 kB / 1.311 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4363, allocations: 0 / 1.311 GB, free: 9.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.188e-05/0.4364, allocations: 12.36 kB / 1.311 GB, free: 9.746 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4364, allocations: 0 / 1.311 GB, free: 9.746 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-06/0.4364, allocations: 7.938 kB / 1.311 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4364, allocations: 0 / 1.311 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4364, allocations: 0 / 1.311 GB, free: 9.738 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.4367, allocations: 203.2 kB / 1.311 GB, free: 9.523 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.4368, allocations: 116.8 kB / 1.311 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.4368, allocations: 8 kB / 1.311 GB, free: 9.383 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.4369, allocations: 11.98 kB / 1.312 GB, free: 9.371 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.437, allocations: 3.938 kB / 1.312 GB, free: 9.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.437, allocations: 0 / 1.312 GB, free: 9.367 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004186/0.4374, allocations: 387.1 kB / 1.312 GB, free: 8.988 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4374, allocations: 0 / 1.312 GB, free: 8.988 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002635/0.4377, allocations: 23.98 kB / 1.312 GB, free: 8.965 MB / 1.014 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.001767/0.4394, allocations: 0.9748 MB / 1.313 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.4397, allocations: 51.89 kB / 1.313 GB, free: 8.055 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4397, allocations: 0 / 1.313 GB, free: 8.055 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.4397, allocations: 19.92 kB / 1.313 GB, free: 8.035 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.4402, allocations: 45.48 kB / 1.313 GB, free: 7.992 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.4437, allocations: 2.603 MB / 1.316 GB, free: 5.309 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.4441, allocations: 0.771 MB / 1.316 GB, free: 4.512 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.837e-05/0.4442, allocations: 38.16 kB / 1.316 GB, free: 4.477 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.4444, allocations: 83.41 kB / 1.316 GB, free: 4.395 MB / 1.014 GB Notification: Performance of SimCode: time 8.12e-07/0.4444, allocations: 4 kB / 1.316 GB, free: 4.391 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.4753, allocations: 5.068 MB / 1.321 GB, free: 15.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/8.906, allocations: 4.062 kB / 1.321 GB, free: 15.38 MB / 1.029 GB " [Timeout remaining time 291] (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_2/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: 16.55095785204321]