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.01256/0.01256, allocations: 103.2 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.002084/0.002084, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.533/1.533, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.704/2.704, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 68.3 kB / 1.018 GB, free: 9.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.12, allocations: 151.6 MB / 1.166 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004053/1.125, allocations: 1.661 MB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001136/1.126, allocations: 0.5108 MB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/1.126, allocations: 7.938 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005828/1.127, allocations: 185.5 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004606/1.127, allocations: 154.3 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/1.127, allocations: 196.1 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003806/1.128, allocations: 199.6 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/1.128, allocations: 43.77 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/1.128, allocations: 83.67 kB / 1.169 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/1.129, allocations: 159.5 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/1.129, allocations: 12 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/1.129, allocations: 39.98 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/1.129, allocations: 75.81 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/1.129, allocations: 99.2 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004506/1.13, allocations: 267 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/1.13, allocations: 0 / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.635e-06/1.13, allocations: 0 / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.13, allocations: 4 kB / 1.17 GB, free: 168 kB / 0.8887 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.001028/1.131, allocations: 0.5798 MB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/1.131, allocations: 12.92 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/1.131, allocations: 38.73 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/1.131, allocations: 28.56 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/1.131, allocations: 370.3 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/1.131, allocations: 384 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/1.131, allocations: 8.375 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/1.132, allocations: 81.53 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.132, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.132, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.132, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/1.132, allocations: 47.95 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/1.132, allocations: 432.5 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/1.133, allocations: 50.55 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.94e-05/1.133, allocations: 28.89 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/1.133, allocations: 0 / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/1.133, allocations: 30.56 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/1.133, allocations: 0 / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0004036/1.133, allocations: 121.4 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/1.133, allocations: 55.34 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/1.134, allocations: 0.5132 MB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/1.134, allocations: 29.7 kB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/1.134, allocations: 164 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/1.134, allocations: 15.81 kB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/1.134, allocations: 13.72 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001335/1.134, allocations: 346.8 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/1.134, allocations: 19.98 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.95e-05/1.134, allocations: 11.98 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/1.135, allocations: 48.81 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.135, allocations: 0 / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000252/1.135, allocations: 101.6 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.135, allocations: 4 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.135, allocations: 0 / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/1.135, allocations: 4 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/1.135, allocations: 7.984 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.135, allocations: 4 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.15e-05/1.135, allocations: 15.83 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/1.135, allocations: 11.98 kB / 1.173 GB, free: 12.77 MB / 0.9044 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.0001763/1.135, allocations: 168.7 kB / 1.173 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/1.135, allocations: 23.72 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/1.136, allocations: 120 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/1.136, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.136, allocations: 0 / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.136, allocations: 3.938 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/1.136, allocations: 261.5 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.136, allocations: 4 kB / 1.173 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/1.136, allocations: 15.98 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.136, allocations: 0 / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/1.136, allocations: 0 / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/1.136, allocations: 4 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.136, allocations: 0 / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/1.137, allocations: 191.2 kB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.137, allocations: 120.7 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/1.137, allocations: 3.938 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/1.137, allocations: 15.86 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/1.137, allocations: 3.938 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/1.137, allocations: 0 / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004598/1.138, allocations: 387.1 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.11e-07/1.138, allocations: 0 / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003022/1.138, allocations: 20 kB / 1.174 GB, free: 11.36 MB / 0.9044 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.001585/1.139, allocations: 0.9741 MB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002797/1.14, allocations: 47.89 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.14, allocations: 4 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/1.14, allocations: 20.06 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/1.14, allocations: 50.67 kB / 1.175 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003702/1.144, allocations: 2.588 MB / 1.178 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/1.145, allocations: 0.771 MB / 1.178 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001151/1.145, allocations: 41.94 kB / 1.178 GB, free: 6.871 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/1.145, allocations: 83.41 kB / 1.179 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of SimCode: time 1.393e-06/1.145, allocations: 3.938 kB / 1.179 GB, free: 6.785 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03002/1.175, allocations: 5.029 MB / 1.183 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/9.209, allocations: 6.188 kB / 1.183 GB, free: 1.828 MB / 0.9044 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