Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01099/0.01099, allocations: 97.61 kB / 15.73 MB, free: 5.988 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.001741/0.001741, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.376/1.376, 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-maint.11.x/package.mo): time 2.725/2.725, allocations: 469.8 MB / 0.7425 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 68.11 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187/1.188, allocations: 159.1 MB / 1.221 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003391/1.192, allocations: 1.655 MB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009165/1.193, allocations: 0.5224 MB / 1.223 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.401e-05/1.193, allocations: 4 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005348/1.193, allocations: 188.7 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003557/1.194, allocations: 151.5 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/1.194, allocations: 192.2 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/1.194, allocations: 187.6 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/1.195, allocations: 29.53 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/1.195, allocations: 83.72 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/1.195, allocations: 155.5 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/1.195, allocations: 12 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-05/1.195, allocations: 39.98 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/1.195, allocations: 84.67 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/1.195, allocations: 103.2 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/1.195, allocations: 271.3 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.195, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.542e-06/1.195, allocations: 0 / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.282e-06/1.195, allocations: 0 / 1.224 GB, free: 14.45 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.0007976/1.196, allocations: 0.5913 MB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/1.196, allocations: 8.031 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/1.196, allocations: 36.7 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/1.197, allocations: 374.7 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/1.197, allocations: 4.312 kB / 1.225 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/1.197, allocations: 8.375 kB / 1.225 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/1.197, allocations: 69.78 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.197, allocations: 3.938 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.197, allocations: 4 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.197, allocations: 4 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/1.197, allocations: 51.94 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/1.198, allocations: 432.5 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/1.198, allocations: 42.66 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.673e-05/1.198, allocations: 32.83 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/1.198, allocations: 3.984 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/1.198, allocations: 34.56 kB / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/1.198, allocations: 0 / 1.226 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0003647/1.198, allocations: 117.5 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/1.198, allocations: 51.41 kB / 1.226 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/1.199, allocations: 0.5094 MB / 1.226 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/1.199, allocations: 29.7 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.199, allocations: 168.1 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/1.199, allocations: 3.953 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/1.199, allocations: 21.7 kB / 1.227 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.199, allocations: 342.8 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/1.199, allocations: 23.92 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.641e-05/1.199, allocations: 11.98 kB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/1.2, allocations: 52.81 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.2, allocations: 0 / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002082/1.2, allocations: 97.47 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.2, allocations: 4 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.2, allocations: 7.938 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.2, allocations: 0 / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/1.2, allocations: 11.98 kB / 1.227 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/1.2, allocations: 7.938 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.25e-05/1.2, allocations: 15.86 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/1.2, allocations: 0 / 1.227 GB, free: 11.09 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.0001306/1.2, allocations: 165.8 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/1.2, allocations: 27.81 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/1.2, allocations: 120 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.2, allocations: 4 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.2, allocations: 0 / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.2, allocations: 7.875 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/1.201, allocations: 261.5 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/1.201, allocations: 0 / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.679e-05/1.201, allocations: 11.98 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/1.201, allocations: 0 / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/1.201, allocations: 4 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/1.201, allocations: 3.938 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1.201, allocations: 0 / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/1.201, allocations: 203.2 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/1.201, allocations: 108.9 kB / 1.228 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/1.201, allocations: 4.422 kB / 1.228 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/1.201, allocations: 7.984 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/1.201, allocations: 0 / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/1.201, allocations: 7.938 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003822/1.202, allocations: 391.1 kB / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/1.202, allocations: 0 / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002511/1.202, allocations: 19.98 kB / 1.228 GB, free: 9.664 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.0008197/1.203, allocations: 357 kB / 1.229 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000218/1.203, allocations: 47.89 kB / 1.229 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.203, allocations: 0 / 1.229 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.496e-05/1.203, allocations: 23.97 kB / 1.229 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/1.203, allocations: 44.72 kB / 1.229 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006704/1.204, allocations: 472.2 kB / 1.229 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/1.204, allocations: 0.771 MB / 1.23 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.361e-05/1.205, allocations: 37.92 kB / 1.23 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/1.205, allocations: 23.38 kB / 1.23 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/1.205, allocations: 0 / 1.23 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of Templates: time 0.005485/1.21, allocations: 2.302 MB / 1.232 GB, free: 5.695 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches