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.0009817/0.0009816, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.006946/0.006946, allocations: 173.2 kB / 16.26 MB, free: 6.676 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.719/2.719, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 12 kB / 0.8729 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6263, allocations: 153.8 MB / 1.023 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007671/0.6271, allocations: 337.3 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000741/0.6279, allocations: 362.8 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.6279, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.6279, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 1.861e-05/0.628, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.6283, allocations: 79.72 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.6284, allocations: 11.94 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.6284, allocations: 3.984 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.6285, allocations: 4 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.099e-05/0.6285, allocations: 7.922 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.6285, allocations: 4 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.6289, allocations: 267.7 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.629, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.629, allocations: 37.69 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.6292, allocations: 95.78 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.6292, allocations: 4 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6292, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.6292, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 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.0003722/0.6296, allocations: 339.5 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6297, allocations: 8.031 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.6297, allocations: 0.9375 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.6299, allocations: 168.4 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.6299, allocations: 384 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.6299, allocations: 4.375 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.63, allocations: 34.27 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.63, allocations: 4.125 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.63, allocations: 3.938 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.63, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.6301, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.6303, allocations: 155.8 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.6303, allocations: 22.59 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.6304, allocations: 16.92 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007957/0.6312, allocations: 457.5 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.6312, allocations: 34.56 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6312, allocations: 4 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005231/0.6317, allocations: 262.2 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.6318, allocations: 55.34 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.6319, allocations: 93.86 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.6319, allocations: 26.05 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.819e-05/0.6319, allocations: 92.08 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.632, allocations: 3.906 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.632, allocations: 13.72 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6322, allocations: 318.8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.6322, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.54e-05/0.6322, allocations: 13.72 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.571e-05/0.6323, allocations: 29.7 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6323, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001084/0.6324, allocations: 53.64 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.6324, allocations: 11.94 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.6324, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.6324, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.66e-05/0.6325, allocations: 11.98 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6325, allocations: 0 / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.6325, allocations: 3.938 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.6326, allocations: 8.062 kB / 1.026 GB, free: 12.22 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.103e-05/0.6326, allocations: 109.8 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.6327, allocations: 7.844 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.6328, allocations: 57.17 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.6328, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6328, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6328, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.633, allocations: 157.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-06/0.633, allocations: 0 / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.633, allocations: 4 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.6331, allocations: 3.938 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.6331, allocations: 0 / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.6331, allocations: 3.938 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6331, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.6332, allocations: 77.12 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.6333, allocations: 85.16 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.6333, allocations: 3.938 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.6334, allocations: 4.031 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.6334, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.6334, allocations: 3.938 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.6334, allocations: 79.28 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6335, allocations: 3.938 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002181/0.6337, allocations: 31.98 kB / 1.027 GB, free: 11.48 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.0002103/0.6339, allocations: 127.8 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.634, allocations: 15.94 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.634, allocations: 4 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.481e-05/0.634, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.6342, allocations: 0.75 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.6344, allocations: 112.9 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.6347, allocations: 0.6772 MB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.705e-05/0.6348, allocations: 8 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.6348, allocations: 11.44 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6348, allocations: 3.938 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.003441/0.6383, allocations: 0.853 MB / 1.029 GB, free: 9.609 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