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.0007946/0.0007946, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008109/0.0008109, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.8655/0.8655, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.768/1.768, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.46e-05, allocations: 13.03 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002155/0.002179, allocations: 1.67 MB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008159/0.002995, allocations: 0.6388 MB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.938e-05/0.003075, allocations: 8 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004587/0.003533, allocations: 173.5 kB / 1.002 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.003923, allocations: 205.4 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.004241, allocations: 201.2 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.004457, allocations: 215.4 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.004559, allocations: 25.78 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.004669, allocations: 107.7 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.004827, allocations: 163.7 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.004851, allocations: 16 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.004923, allocations: 47.81 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.004992, allocations: 91.67 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.005036, allocations: 43.8 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.005271, allocations: 263.1 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.005273, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.005274, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.005279, allocations: 0 / 1.003 GB, free: 9.688 MB / 0.9636 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.000594/0.005873, allocations: 0.5314 MB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.005915, allocations: 16.69 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.005949, allocations: 42.73 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.005994, allocations: 36.75 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.006345, allocations: 324 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.006356, allocations: 4.375 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.006366, allocations: 4.375 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.006502, allocations: 70.22 kB / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.006509, allocations: 192 / 1.004 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.006519, allocations: 7.938 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.006523, allocations: 3.938 kB / 1.004 GB, free: 8.586 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.006626, allocations: 55.94 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.007012, allocations: 375.9 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.007116, allocations: 50.5 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.007163, allocations: 28.89 kB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.007183, allocations: 0 / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.007202, allocations: 34.56 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.007203, allocations: 4 kB / 1.005 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0002304/0.007434, allocations: 121.3 kB / 1.005 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.007462, allocations: 55.41 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.007856, allocations: 0.525 MB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.007866, allocations: 29.7 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.773e-05/0.007954, allocations: 176 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.00797, allocations: 7.906 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.007995, allocations: 17.72 kB / 1.006 GB, free: 7.016 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.008088, allocations: 346.7 kB / 1.006 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.008132, allocations: 23.98 kB / 1.006 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/0.008169, allocations: 15.98 kB / 1.006 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/0.008248, allocations: 44.81 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.00825, allocations: 3.938 kB / 1.006 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001249/0.008374, allocations: 105.4 kB / 1.006 GB, free: 6.469 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.008385, allocations: 8 kB / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.008388, allocations: 0 / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.008399, allocations: 0 / 1.006 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.316e-05/0.008452, allocations: 11.98 kB / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.008457, allocations: 0 / 1.006 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.008494, allocations: 7.984 kB / 1.006 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.0085, allocations: 4 kB / 1.006 GB, free: 6.438 MB / 0.9636 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.0001037/0.008604, allocations: 169.8 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.008632, allocations: 27.81 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.008791, allocations: 124.2 kB / 1.007 GB, free: 6.105 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.008793, allocations: 3.938 kB / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.008797, allocations: 0 / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.0088, allocations: 0 / 1.007 GB, free: 6.102 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.008965, allocations: 224.6 kB / 1.007 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008966, allocations: 3.984 kB / 1.007 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/0.008992, allocations: 8 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.008993, allocations: 0 / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.008997, allocations: 0 / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008999, allocations: 8 kB / 1.007 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.009001, allocations: 7.984 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.00914, allocations: 199.6 kB / 1.007 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.009178, allocations: 31.81 kB / 1.007 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.009195, allocations: 7.922 kB / 1.007 GB, free: 5.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.009243, allocations: 4 kB / 1.007 GB, free: 5.559 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.009276, allocations: 7.984 kB / 1.007 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.009278, allocations: 0 / 1.007 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002666/0.009545, allocations: 403 kB / 1.008 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.009545, allocations: 4 kB / 1.008 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001778/0.009723, allocations: 27.94 kB / 1.008 GB, free: 5.129 MB / 0.9636 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.0008273/0.01055, allocations: 1.001 MB / 1.009 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.01067, allocations: 43.97 kB / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01068, allocations: 0 / 1.009 GB, free: 4.211 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.01072, allocations: 27.91 kB / 1.009 GB, free: 4.184 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.011, allocations: 38.59 kB / 1.009 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.01295, allocations: 2.665 MB / 1.011 GB, free: 1.402 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.01305, allocations: 165.8 kB / 1.011 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.812e-05/0.01311, allocations: 45.92 kB / 1.011 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.0132, allocations: 92.41 kB / 1.012 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.0132, allocations: 0 / 1.012 GB, free: 1.082 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01662/0.02982, allocations: 6.049 MB / 1.017 GB, free: 11.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.589/6.619, allocations: 6.719 kB / 1.017 GB, free: 11.1 MB / 0.9792 GB " [Timeout remaining time 293] (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/jenkins/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: 10.627618760801852]