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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002268/0.002267, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002307/0.002307, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.533/2.533, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.89 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6078/0.6091, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00301/0.6121, allocations: 1.666 MB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008807/0.613, allocations: 0.5108 MB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.6131, allocations: 7.938 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.6136, allocations: 183.7 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.614, allocations: 159.6 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.6145, allocations: 191.2 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.6147, allocations: 199.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.6148, allocations: 35.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.615, allocations: 83.67 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.6152, allocations: 155.6 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.6152, allocations: 12 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.6153, allocations: 39.98 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.6154, allocations: 79.73 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.816e-05/0.6155, allocations: 99.22 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.6158, allocations: 259.1 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6158, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6158, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.6158, allocations: 0 / 1.021 GB, free: 14.83 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.0007333/0.6166, allocations: 0.5913 MB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.6166, allocations: 8.031 kB / 1.022 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.6167, allocations: 42.73 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.6167, allocations: 28.56 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.6171, allocations: 370.3 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.6172, allocations: 384 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.6172, allocations: 4.375 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.6174, allocations: 77.59 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.6174, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.6174, allocations: 3.984 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6174, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.6176, allocations: 55.89 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004706/0.6181, allocations: 428.6 kB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.6183, allocations: 50.59 kB / 1.023 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.165e-05/0.6184, allocations: 28.89 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.6184, allocations: 0 / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.6184, allocations: 30.56 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.6184, allocations: 4 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003847/0.6188, allocations: 113.3 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.6189, allocations: 55.34 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005157/0.6194, allocations: 0.521 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.6194, allocations: 25.7 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.6195, allocations: 168 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.6195, allocations: 11.91 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.6196, allocations: 13.72 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6197, allocations: 346.8 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.211e-05/0.6198, allocations: 19.98 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.932e-05/0.6199, allocations: 15.98 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.6201, allocations: 44.81 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6201, allocations: 8 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002383/0.6203, allocations: 101.2 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6203, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.6203, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.6204, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.6204, allocations: 11.98 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6205, allocations: 0 / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.6205, allocations: 15.86 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6206, allocations: 8 kB / 1.024 GB, free: 11.43 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.0001277/0.6207, allocations: 165.8 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.6207, allocations: 27.62 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.621, allocations: 112 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.621, allocations: 4 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.621, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.6211, allocations: 11.88 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.6213, allocations: 261.5 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6213, allocations: 0 / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.3e-05/0.6214, allocations: 11.98 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6214, allocations: 384 / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.6214, allocations: 0 / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.6214, allocations: 0 / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6214, allocations: 0 / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.6217, allocations: 207.1 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.6218, allocations: 108.8 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.6218, allocations: 4 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.6219, allocations: 11.98 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.6219, allocations: 7.875 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.6219, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003701/0.6223, allocations: 387.1 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.094e-06/0.6223, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002537/0.6226, allocations: 31.84 kB / 1.025 GB, free: 10 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.001173/0.6238, allocations: 0.9625 MB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000218/0.624, allocations: 39.97 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.624, allocations: 0 / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.372e-05/0.6241, allocations: 31.91 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.6245, allocations: 48.56 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.6273, allocations: 2.609 MB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.6277, allocations: 0.7749 MB / 1.03 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.602e-05/0.6278, allocations: 33.94 kB / 1.03 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.6279, allocations: 87.34 kB / 1.03 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.6279, allocations: 7.938 kB / 1.03 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.6539, allocations: 4.93 MB / 1.035 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/8.092, allocations: 11.22 kB / 1.035 GB, free: 0.5508 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