Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001748/0.001748, allocations: 113 kB / 18.94 MB, free: 2.934 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.002268/0.002268, allocations: 208.4 kB / 22.25 MB, free: 5.086 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.628/1.628, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.514/3.514, allocations: 0.49 GB / 0.7951 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_12_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_12_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.002711/0.002711, allocations: 72.28 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5151, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003815/0.5189, allocations: 1.725 MB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.5204, allocations: 0.6626 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.5206, allocations: 7.938 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006488/0.5212, allocations: 182.6 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006385/0.5218, allocations: 211 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.5224, allocations: 191 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004231/0.5228, allocations: 219.4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.523, allocations: 26.02 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002119/0.5232, allocations: 95.59 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002848/0.5235, allocations: 167.6 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.5235, allocations: 16 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.5237, allocations: 44 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.5238, allocations: 91.59 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.5239, allocations: 95.3 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.5244, allocations: 282.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5244, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5244, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.5244, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 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.000994/0.5254, allocations: 0.5353 MB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.5254, allocations: 12.03 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.971e-05/0.5255, allocations: 34.75 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.152e-05/0.5256, allocations: 32.73 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.5261, allocations: 316.8 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.5261, allocations: 4.312 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.5262, allocations: 8.375 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.5264, allocations: 77.53 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5264, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.5264, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5264, allocations: 4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.5266, allocations: 47.95 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006904/0.5273, allocations: 407.6 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.5275, allocations: 54.55 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.5276, allocations: 24.91 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.5276, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.5277, allocations: 34.55 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.5277, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004993/0.5282, allocations: 117.7 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/0.5282, allocations: 55.41 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008051/0.529, allocations: 0.5366 MB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.529, allocations: 25.7 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.5292, allocations: 168.1 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.5293, allocations: 19.83 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.5293, allocations: 13.72 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.5295, allocations: 342.8 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/0.5296, allocations: 23.97 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.178e-05/0.5297, allocations: 23.98 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.5299, allocations: 48.75 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5299, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002801/0.5301, allocations: 97.47 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.5302, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5302, allocations: 4 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.5302, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.5303, allocations: 11.98 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.5303, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.379e-05/0.5304, allocations: 15.94 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.5304, allocations: 4 kB / 1.333 GB, free: 10.7 MB / 1.029 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.0002016/0.5306, allocations: 169.8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.5307, allocations: 31.77 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.531, allocations: 124.1 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.531, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.531, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.531, allocations: 3.938 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.5314, allocations: 236.6 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5314, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.5315, allocations: 11.98 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5315, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.5315, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.5315, allocations: 0 / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5315, allocations: 4 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.5319, allocations: 207.2 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.532, allocations: 35.81 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.532, allocations: 0 / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5321, allocations: 11.98 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.844e-05/0.5322, allocations: 7.922 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.5322, allocations: 4 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005455/0.5327, allocations: 395.1 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5327, allocations: 0 / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002961/0.533, allocations: 31.89 kB / 1.334 GB, free: 9.367 MB / 1.029 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.0019/0.5349, allocations: 0.9772 MB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002444/0.5352, allocations: 55.83 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5352, allocations: 0 / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.5352, allocations: 23.97 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.5357, allocations: 47.39 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.5395, allocations: 2.662 MB / 1.338 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.5399, allocations: 0.7753 MB / 1.338 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001052/0.54, allocations: 41.92 kB / 1.338 GB, free: 4.793 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.5402, allocations: 87.41 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.5402, allocations: 4 kB / 1.339 GB, free: 4.703 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/0.5747, allocations: 5.364 MB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.14, allocations: 6.344 kB / 1.344 GB, free: 15.41 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.88236724282615]