Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002047/0.002047, allocations: 195.3 kB / 16.14 MB, free: 6.633 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.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.713/2.713, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00292/0.00292, allocations: 64.14 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6568/0.6597, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001908/0.6617, allocations: 0.6682 MB / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007658/0.6625, allocations: 370.8 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.421e-05/0.6625, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.6625, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.805e-05/0.6625, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.6629, allocations: 79.78 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.998e-05/0.663, allocations: 7.984 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.663, allocations: 0 / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.781e-05/0.663, allocations: 8 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.108e-05/0.6631, allocations: 3.938 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.6631, allocations: 4 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.6635, allocations: 275.6 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.6635, allocations: 4 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.6635, allocations: 3.984 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.6637, allocations: 95.78 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.6637, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6637, allocations: 0 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.6638, allocations: 4 kB / 1.018 GB, free: 1.293 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003915/0.6642, allocations: 343.5 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.6642, allocations: 12.03 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.292e-05/0.6643, allocations: 0.9375 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.6644, allocations: 160.4 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.6644, allocations: 4.375 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.6645, allocations: 8.312 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.6646, allocations: 38.25 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.6646, allocations: 192 / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6646, allocations: 3.938 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.6646, allocations: 0 / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.6646, allocations: 4 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.6648, allocations: 155.6 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.6649, allocations: 22.61 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.6649, allocations: 8.797 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008225/0.6657, allocations: 461.5 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.6658, allocations: 34.56 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.6658, allocations: 0 / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005371/0.6663, allocations: 254.2 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.6664, allocations: 55.41 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.6665, allocations: 97.84 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.6665, allocations: 29.98 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.6665, allocations: 84.14 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.6666, allocations: 15.83 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.6666, allocations: 13.72 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6667, allocations: 322.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.6668, allocations: 4 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.6668, allocations: 17.77 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.336e-05/0.6669, allocations: 33.66 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.6669, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001073/0.667, allocations: 53.69 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.667, allocations: 7.938 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.667, allocations: 11.92 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.667, allocations: 0 / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.6671, allocations: 7.984 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.6671, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.6672, allocations: 8.062 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.6672, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 8.338e-05/0.6673, allocations: 109.8 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.6673, allocations: 7.938 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.6674, allocations: 53.12 kB / 1.02 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6675, allocations: 3.938 kB / 1.02 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6675, allocations: 4 kB / 1.02 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.6675, allocations: 7.984 kB / 1.02 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6676, allocations: 153.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6676, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.6677, allocations: 8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6677, allocations: 3.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.6677, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6677, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6677, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.6679, allocations: 77.12 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.6679, allocations: 85.12 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.668, allocations: 3.938 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.668, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.668, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-06/0.668, allocations: 0 / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.553e-05/0.6681, allocations: 83.16 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6681, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002519/0.6683, allocations: 31.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0002237/0.6686, allocations: 119.9 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.6687, allocations: 19.98 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6687, allocations: 0 / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.6687, allocations: 11.94 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.6689, allocations: 0 / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.6692, allocations: 111.2 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.6695, allocations: 0.6772 MB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.6695, allocations: 8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.6695, allocations: 7.438 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.6696, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.00341/0.673, allocations: 0.8737 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches