Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 214.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.645/1.645, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.81/2.81, allocations: 475.9 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 68.67 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.326, allocations: 169.9 MB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001813/0.3278, allocations: 0.6061 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007394/0.3285, allocations: 319 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.3285, allocations: 0 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.3286, allocations: 0 / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 1.875e-05/0.3286, allocations: 3.938 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.3291, allocations: 118 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.3291, allocations: 11.98 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.3292, allocations: 7.938 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.575e-05/0.3292, allocations: 0 / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.3293, allocations: 11.97 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3293, allocations: 0 / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.3297, allocations: 255.7 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.3297, allocations: 0 / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.3297, allocations: 11.94 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3299, allocations: 99.7 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3299, allocations: 0 / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3299, allocations: 0 / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3299, allocations: 0 / 1.284 GB, free: 10.44 MB / 0.9825 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.000378/0.3303, allocations: 262.2 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3303, allocations: 12.03 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.3304, allocations: 0.9375 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.3305, allocations: 114.4 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.3305, allocations: 384 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.3305, allocations: 384 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.3307, allocations: 67.89 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3307, allocations: 4.125 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3307, allocations: 11.94 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3307, allocations: 0 / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.3307, allocations: 0 / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.3309, allocations: 101.3 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.395e-05/0.3309, allocations: 22.61 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.3309, allocations: 8.922 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/0.3315, allocations: 71.92 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.3315, allocations: 46.48 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3315, allocations: 0 / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005203/0.3321, allocations: 173.4 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.3322, allocations: 59.41 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.3322, allocations: 93.86 kB / 1.285 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3322, allocations: 25.7 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.3323, allocations: 84.14 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.117e-05/0.3323, allocations: 3.953 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3324, allocations: 21.7 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3325, allocations: 310.8 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.3325, allocations: 8 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.3325, allocations: 21.7 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.3326, allocations: 33.72 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3326, allocations: 0 / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.3327, allocations: 49.7 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3327, allocations: 7.984 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3327, allocations: 4.141 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3327, allocations: 3.938 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.3328, allocations: 7.984 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3328, allocations: 7.938 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.3328, allocations: 0 / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3328, allocations: 4.062 kB / 1.286 GB, free: 8.613 MB / 0.9825 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 7.787e-05/0.3329, allocations: 109.8 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.3329, allocations: 3.953 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.3331, allocations: 61.3 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3331, allocations: 0 / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3331, allocations: 3.938 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3331, allocations: 4 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.895e-05/0.3332, allocations: 97.33 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3332, allocations: 4 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.3332, allocations: 15.92 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3332, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.3332, allocations: 4 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.3332, allocations: 3.938 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3332, allocations: 0 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.3334, allocations: 73.12 kB / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-06/0.3334, allocations: 0 / 1.286 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3334, allocations: 4 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.3334, allocations: 11.95 kB / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.3335, allocations: 0 / 1.286 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3335, allocations: 4.062 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.199e-05/0.3335, allocations: 79.28 kB / 1.286 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3335, allocations: 0 / 1.286 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002136/0.3337, allocations: 23.94 kB / 1.286 GB, free: 8.055 MB / 0.9825 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.0002227/0.3339, allocations: 127.2 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.701e-05/0.334, allocations: 23.92 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.334, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.3341, allocations: 8 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.3342, allocations: 12.16 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.3345, allocations: 113.4 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.3346, allocations: 63.28 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.158e-05/0.3346, allocations: 4 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.3346, allocations: 7.438 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3346, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of Templates: time 0.003562/0.3382, allocations: 0.8807 MB / 1.288 GB, free: 6.777 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.989141089841723]