Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009259/0.009259, allocations: 101.4 kB / 15.88 MB, free: 5.867 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.001964/0.001964, allocations: 192.3 kB / 16.79 MB, free: 5.809 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.437/1.437, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.884/2.884, allocations: 437 MB / 0.7106 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6642, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002938/0.6672, allocations: 0.728 MB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.6685, allocations: 0.804 MB / 1.019 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.6685, allocations: 4 kB / 1.019 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.249e-05/0.6686, allocations: 3.984 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.6687, allocations: 3.938 kB / 1.019 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.6688, allocations: 8 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.6689, allocations: 27.86 kB / 1.019 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.669, allocations: 4 kB / 1.019 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.6691, allocations: 11.98 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.66e-05/0.6692, allocations: 11.92 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.6692, allocations: 0 / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.6692, allocations: 4 kB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.6692, allocations: 4 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.6693, allocations: 11.92 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.931e-05/0.6694, allocations: 19.97 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6694, allocations: 3.938 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6694, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.6694, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005055/0.6699, allocations: 333.5 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.67, allocations: 12.03 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.67, allocations: 4.938 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.6702, allocations: 164.3 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.6702, allocations: 8.312 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.6702, allocations: 384 / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.6704, allocations: 50.23 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.6704, allocations: 192 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6705, allocations: 3.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6705, allocations: 0 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.6707, allocations: 39.95 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.6711, allocations: 241 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.6713, allocations: 42.44 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.6714, allocations: 24.89 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.6714, allocations: 4 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.6715, allocations: 34.56 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.6715, allocations: 0 / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0004673/0.6719, allocations: 77.64 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.672, allocations: 59.34 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.732e-05/0.6721, allocations: 102 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.6721, allocations: 29.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.6722, allocations: 88.06 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.6722, allocations: 7.906 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.6723, allocations: 9.719 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.6724, allocations: 314.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.6725, allocations: 15.98 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.6727, allocations: 27.91 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001973/0.6729, allocations: 36.83 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.6729, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002718/0.6732, allocations: 65.59 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.6732, allocations: 11.94 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6732, allocations: 4 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.6732, allocations: 4.094 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.6734, allocations: 7.984 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.6734, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.135e-05/0.6734, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.6735, allocations: 4 kB / 1.021 GB, free: 15.11 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 (2): * Single equations (assignments): 2 * 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 9.59e-05/0.6736, allocations: 118.3 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.6736, allocations: 3.906 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003232/0.6739, allocations: 76.72 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.674, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.674, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.674, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.6742, allocations: 161.6 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6742, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.983e-05/0.6743, allocations: 15.92 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6743, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.6744, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6744, allocations: 4.031 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.6744, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.6746, allocations: 159.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.6747, allocations: 81.11 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.6747, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.6748, allocations: 8.031 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.6749, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.6749, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.675, allocations: 79.28 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.675, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003036/0.6753, allocations: 4 kB / 1.021 GB, free: 14.3 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 (2): * Single equations (assignments): 2 * 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.0001433/0.6754, allocations: 95.25 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.6757, allocations: 47.89 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6757, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.6758, allocations: 23.92 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.6762, allocations: 3.938 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.6765, allocations: 137.8 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.6768, allocations: 0.6809 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.6769, allocations: 7.438 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.6769, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of Templates: time 0.002042/0.6789, allocations: 0.5516 MB / 1.023 GB, free: 12.7 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches