Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_10_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 193.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.358/2.358, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001225, allocations: 67.89 kB / 0.8686 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4908, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002501/0.4933, allocations: 1.717 MB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007669/0.4941, allocations: 0.5109 MB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.4942, allocations: 7.938 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.4946, allocations: 168.3 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.4949, allocations: 145 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.4952, allocations: 179.3 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.4954, allocations: 199.4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4955, allocations: 39.7 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.4956, allocations: 71.67 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.4958, allocations: 147.6 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.4958, allocations: 8 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.45e-05/0.4959, allocations: 35.98 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.496, allocations: 71.75 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.242e-05/0.4961, allocations: 95.2 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.4963, allocations: 259.1 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4963, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4963, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.4963, allocations: 3.938 kB / 1.02 GB, free: 15.17 MB / 0.7794 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.0006277/0.4969, allocations: 0.572 MB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.497, allocations: 8.031 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.033e-05/0.497, allocations: 34.75 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.4971, allocations: 32.55 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.4975, allocations: 378.2 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.4975, allocations: 4.375 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.4975, allocations: 4.375 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.4977, allocations: 73.59 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-06/0.4977, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4977, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.4977, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.4979, allocations: 55.89 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.4983, allocations: 424.7 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.4985, allocations: 58.52 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.791e-05/0.4986, allocations: 28.91 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.4986, allocations: 3.984 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.4986, allocations: 30.56 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4986, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003487/0.499, allocations: 113.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.499, allocations: 55.34 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004725/0.4995, allocations: 0.5172 MB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.4995, allocations: 25.7 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.4996, allocations: 171.9 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.4996, allocations: 7.906 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.817e-05/0.4997, allocations: 17.66 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.4998, allocations: 346.8 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-05/0.4999, allocations: 11.98 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.4999, allocations: 23.98 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.5001, allocations: 48.81 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5001, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002138/0.5003, allocations: 101.2 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.5003, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.5003, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.5004, allocations: 0 / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/0.5004, allocations: 15.98 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.5005, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-05/0.5005, allocations: 7.938 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5005, allocations: 7.984 kB / 1.023 GB, free: 11.79 MB / 0.7794 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.0001166/0.5007, allocations: 165.8 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.5007, allocations: 27.62 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.501, allocations: 116 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.501, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.501, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.501, allocations: 3.938 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.5012, allocations: 261.5 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5012, allocations: 0 / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.5013, allocations: 11.98 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.5013, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.5013, allocations: 3.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5013, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5013, allocations: 8 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.5016, allocations: 195.5 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.5017, allocations: 112.8 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.5017, allocations: 4 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.5018, allocations: 7.984 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.5018, allocations: 7.938 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.5018, allocations: 4 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003477/0.5022, allocations: 383.1 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5022, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002461/0.5024, allocations: 27.91 kB / 1.025 GB, free: 10.37 MB / 0.7794 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.00109/0.5035, allocations: 0.978 MB / 1.026 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.5038, allocations: 47.95 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5038, allocations: 0 / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.5039, allocations: 31.91 kB / 1.026 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.5042, allocations: 40.77 kB / 1.026 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.5069, allocations: 2.65 MB / 1.028 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.5072, allocations: 0.7674 MB / 1.029 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.081e-05/0.5073, allocations: 41.92 kB / 1.029 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5074, allocations: 87.41 kB / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.5074, allocations: 0 / 1.029 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4709/0.9782, allocations: 4.695 MB / 1.034 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.9785, allocations: 232.1 kB / 1.034 GB, free: 0.8867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.711, allocations: 0 / 1.034 GB, free: 0.8867 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_10_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches