Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008997/0.0008997, allocations: 92.16 kB / 16.02 MB, free: 80 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.001239/0.001239, allocations: 180.8 kB / 16.92 MB, free: 6.652 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.487/1.487, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.72/2.72, allocations: 390.9 MB / 0.667 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 12 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9014/0.9019, allocations: 142.4 MB / 0.9557 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002091/0.904, allocations: 1.365 MB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009065/0.9049, allocations: 0.5064 MB / 0.9575 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.905, allocations: 4.875 kB / 0.9575 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.9055, allocations: 165.2 kB / 0.9577 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.9059, allocations: 152.2 kB / 0.9578 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.9063, allocations: 172.3 kB / 0.958 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.9065, allocations: 193.9 kB / 0.9582 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.9066, allocations: 36.64 kB / 0.9582 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.9068, allocations: 67.31 kB / 0.9583 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002155/0.907, allocations: 145.2 kB / 0.9584 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.907, allocations: 5.094 kB / 0.9584 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.9071, allocations: 36.92 kB / 0.9585 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.602e-05/0.9072, allocations: 64.06 kB / 0.9585 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.9073, allocations: 116 kB / 0.9586 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.9076, allocations: 217.1 kB / 0.9588 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.9076, allocations: 5.156 kB / 0.9588 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9076, allocations: 0 / 0.9588 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.9076, allocations: 0 / 0.9588 GB, free: 5.527 MB / 0.7169 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.0006592/0.9082, allocations: 0.5372 MB / 0.9594 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.9083, allocations: 13.75 kB / 0.9594 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.9084, allocations: 32.09 kB / 0.9594 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005994/0.909, allocations: 378 kB / 0.9598 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.909, allocations: 1.75 kB / 0.9598 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.909, allocations: 3.125 kB / 0.9598 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.9093, allocations: 85.22 kB / 0.9599 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.9093, allocations: 0 / 0.9599 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.9094, allocations: 8 kB / 0.9599 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.9094, allocations: 1.375 kB / 0.9599 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.9096, allocations: 62.45 kB / 0.9599 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.9102, allocations: 428.4 kB / 0.9603 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.9105, allocations: 59.33 kB / 0.9604 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.9106, allocations: 31.97 kB / 0.9604 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.9107, allocations: 5.359 kB / 0.9604 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.9107, allocations: 31.94 kB / 0.9605 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.572e-06/0.9107, allocations: 0 / 0.9605 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005996/0.9113, allocations: 127.2 kB / 0.9606 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.9114, allocations: 51.41 kB / 0.9606 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008948/0.9123, allocations: 0.5087 MB / 0.9611 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.9123, allocations: 25.7 kB / 0.9611 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.9124, allocations: 173.7 kB / 0.9613 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.9125, allocations: 4.938 kB / 0.9613 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.9125, allocations: 14.84 kB / 0.9613 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.9126, allocations: 352.4 kB / 0.9617 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.9127, allocations: 23.44 kB / 0.9617 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.676e-05/0.9128, allocations: 23.33 kB / 0.9617 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.9131, allocations: 60.5 kB / 0.9618 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.9131, allocations: 0 / 0.9618 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003971/0.9135, allocations: 112.9 kB / 0.9619 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.9135, allocations: 4.969 kB / 0.9619 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.9136, allocations: 0 / 0.9619 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9136, allocations: 4.875 kB / 0.9619 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.9137, allocations: 13.94 kB / 0.9619 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.9138, allocations: 9.234 kB / 0.9619 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.9139, allocations: 13.92 kB / 0.9619 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.9139, allocations: 5.438 kB / 0.9619 GB, free: 2.992 MB / 0.7169 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.0001904/0.9141, allocations: 169.9 kB / 0.9621 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.9142, allocations: 27.44 kB / 0.9621 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.9146, allocations: 123.9 kB / 0.9622 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9146, allocations: 1.156 kB / 0.9622 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.9147, allocations: 3.938 kB / 0.9622 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.9147, allocations: 5.062 kB / 0.9622 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.915, allocations: 257.4 kB / 0.9625 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.9151, allocations: 0.9688 kB / 0.9625 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.143e-05/0.9152, allocations: 14.2 kB / 0.9625 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.9152, allocations: 0 / 0.9625 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.9152, allocations: 1.375 kB / 0.9625 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9152, allocations: 3.938 kB / 0.9625 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9152, allocations: 4 kB / 0.9625 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.9156, allocations: 203.1 kB / 0.9627 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.9158, allocations: 123.8 kB / 0.9628 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.9158, allocations: 5 kB / 0.9628 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.916, allocations: 9.578 kB / 0.9628 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.9161, allocations: 2.281 kB / 0.9628 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.9161, allocations: 4.875 kB / 0.9628 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000696/0.9168, allocations: 390.2 kB / 0.9632 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9168, allocations: 0 / 0.9632 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004453/0.9172, allocations: 23.84 kB / 0.9632 GB, free: 1.965 MB / 0.7169 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.001308/0.9186, allocations: 349.4 kB / 0.9636 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003501/0.9189, allocations: 63.17 kB / 0.9636 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.9189, allocations: 0 / 0.9636 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.9191, allocations: 34.16 kB / 0.9637 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006506/0.9198, allocations: 40.03 kB / 0.9637 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.921, allocations: 0.5708 MB / 0.9643 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.9214, allocations: 0.7763 MB / 0.965 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.9215, allocations: 19.62 kB / 0.965 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/0.9215, allocations: 0 / 0.965 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of Templates: time 0.009511/0.931, allocations: 3.131 MB / 0.9681 GB, free: 14.96 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches