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) 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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01064/0.01064, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002097/0.002097, allocations: 197.6 kB / 16.68 MB, free: 5.969 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.869/2.869, allocations: 469.4 MB / 0.7422 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002307/0.002307, allocations: 63.89 kB / 1.064 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 159.1 MB / 1.22 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004304/1.036, allocations: 1.657 MB / 1.221 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001215/1.038, allocations: 0.5224 MB / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/1.038, allocations: 0 / 1.222 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007711/1.039, allocations: 178.5 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005575/1.039, allocations: 164.6 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/1.04, allocations: 187 kB / 1.222 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004107/1.04, allocations: 211.4 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/1.04, allocations: 33.53 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/1.041, allocations: 83.72 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000277/1.041, allocations: 151.6 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.271e-05/1.041, allocations: 12 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/1.041, allocations: 47.94 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/1.041, allocations: 76.67 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/1.041, allocations: 95.28 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/1.042, allocations: 262.5 kB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.042, allocations: 3.938 kB / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.874e-06/1.042, allocations: 0 / 1.223 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.403e-05/1.042, allocations: 0 / 1.223 GB, free: 14.6 MB / 0.9512 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.001118/1.043, allocations: 0.599 MB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/1.043, allocations: 8.625 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.935e-05/1.043, allocations: 38.75 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.91e-05/1.043, allocations: 32.7 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/1.044, allocations: 378.7 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.044, allocations: 384 / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/1.044, allocations: 12.36 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/1.044, allocations: 77.53 kB / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.044, allocations: 0 / 1.224 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.044, allocations: 4 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/1.044, allocations: 0 / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/1.044, allocations: 59.89 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008314/1.045, allocations: 428.5 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/1.046, allocations: 50.61 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/1.046, allocations: 24.84 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/1.046, allocations: 4 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/1.046, allocations: 34.59 kB / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/1.046, allocations: 0 / 1.225 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0004573/1.046, allocations: 117.4 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/1.046, allocations: 55.34 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/1.047, allocations: 0.5172 MB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/1.047, allocations: 25.7 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/1.047, allocations: 164.1 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/1.047, allocations: 11.88 kB / 1.226 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/1.047, allocations: 17.72 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.047, allocations: 342.8 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.5e-05/1.047, allocations: 15.97 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.454e-05/1.048, allocations: 27.92 kB / 1.226 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/1.048, allocations: 40.83 kB / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/1.048, allocations: 0 / 1.226 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002693/1.048, allocations: 101.5 kB / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.048, allocations: 9.703 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.048, allocations: 0 / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.048, allocations: 4 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/1.048, allocations: 8 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.048, allocations: 0 / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/1.048, allocations: 11.92 kB / 1.226 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/1.048, allocations: 4 kB / 1.226 GB, free: 11.19 MB / 0.9512 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.0001652/1.048, allocations: 173.7 kB / 1.227 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/1.049, allocations: 27.81 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/1.049, allocations: 112.4 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.049, allocations: 0 / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.049, allocations: 4 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.049, allocations: 3.984 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/1.049, allocations: 265.5 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/1.049, allocations: 0 / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/1.049, allocations: 11.94 kB / 1.227 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/1.049, allocations: 3.984 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/1.049, allocations: 0 / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.049, allocations: 0 / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.049, allocations: 4 kB / 1.227 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/1.05, allocations: 203.2 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/1.05, allocations: 108.9 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.05, allocations: 8 kB / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/1.05, allocations: 0 / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/1.05, allocations: 19.92 kB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/1.05, allocations: 0 / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004345/1.051, allocations: 383.1 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/1.051, allocations: 0 / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002994/1.051, allocations: 27.94 kB / 1.228 GB, free: 9.758 MB / 0.9512 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.001457/1.052, allocations: 0.9769 MB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002584/1.053, allocations: 47.95 kB / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.053, allocations: 0 / 1.229 GB, free: 8.836 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/1.053, allocations: 23.98 kB / 1.229 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/1.053, allocations: 48.22 kB / 1.229 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/1.057, allocations: 2.594 MB / 1.231 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/1.057, allocations: 0.7826 MB / 1.232 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001094/1.057, allocations: 33.94 kB / 1.232 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.058, allocations: 87.34 kB / 1.232 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of SimCode: time 7.61e-07/1.058, allocations: 0 / 1.232 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/1.085, allocations: 5.028 MB / 1.237 GB, free: 256 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/9.163, allocations: 11.88 kB / 1.237 GB, free: 248 kB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches