Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001796/0.001796, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001967/0.001967, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.005/3.005, allocations: 377.8 MB / 0.6232 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8109 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.699e-05, allocations: 4.562 kB / 0.8109 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001673/0.0017, allocations: 0.6247 MB / 0.8115 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007698/0.00247, allocations: 327 kB / 0.8118 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.397e-05/0.002494, allocations: 0 / 0.8118 GB, free: 1.152 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.002508, allocations: 5.781 kB / 0.8118 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.002545, allocations: 0 / 0.8118 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.003012, allocations: 124.7 kB / 0.8119 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.857e-05/0.00308, allocations: 27.91 kB / 0.8119 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 2.898e-05/0.003109, allocations: 0 / 0.8119 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.561e-05/0.003165, allocations: 17.58 kB / 0.812 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.003218, allocations: 15.97 kB / 0.812 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.003235, allocations: 4 kB / 0.812 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.003644, allocations: 251.7 kB / 0.8122 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.00366, allocations: 3.938 kB / 0.8122 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.003686, allocations: 18.19 kB / 0.8122 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000451/0.004137, allocations: 131.6 kB / 0.8124 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004141, allocations: 0 / 0.8124 GB, free: 0.5703 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.263e-06/0.004142, allocations: 3.938 kB / 0.8124 GB, free: 0.5664 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.004148, allocations: 0 / 0.8124 GB, free: 0.5664 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005055/0.004653, allocations: 388.5 kB / 0.8127 GB, free: 152 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.004689, allocations: 8.031 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.004779, allocations: 9.609 kB / 0.8128 GB, free: 136 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.004925, allocations: 113.1 kB / 0.8129 GB, free: 16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.00494, allocations: 4.375 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.004961, allocations: 6.031 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.005111, allocations: 101.6 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.005122, allocations: 192 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.005134, allocations: 4.375 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.005142, allocations: 8.922 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.005197, allocations: 15.92 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.00539, allocations: 125.9 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.005526, allocations: 62.98 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.005574, allocations: 31.67 kB / 0.8132 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/0.006118, allocations: 84.05 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.006153, allocations: 33.39 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.006154, allocations: 0 / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.001336/0.00749, allocations: 483.2 kB / 0.8138 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.007534, allocations: 55.41 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.00766, allocations: 157.9 kB / 0.814 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.007685, allocations: 29.7 kB / 0.814 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.007771, allocations: 135.8 kB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.007818, allocations: 39.64 kB / 0.8142 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.007874, allocations: 31.38 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002458/0.00812, allocations: 0.4944 MB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.269e-05/0.008162, allocations: 16 kB / 0.8147 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/0.008205, allocations: 23.98 kB / 0.8147 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.008307, allocations: 55.67 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.008308, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001818/0.00849, allocations: 113.4 kB / 0.8149 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.008505, allocations: 8 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.008509, allocations: 3.938 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.008524, allocations: 3.938 kB / 0.8149 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.008629, allocations: 23.98 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.008633, allocations: 0 / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.008655, allocations: 0.5 kB / 0.8149 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.008665, allocations: 4 kB / 0.8149 GB, free: 13.68 MB / 0.7761 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 (13): * Single equations (assignments): 13 * 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.0001189/0.008784, allocations: 159 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.008826, allocations: 19.89 kB / 0.8151 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.009029, allocations: 105.8 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.009035, allocations: 3.938 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.009038, allocations: 0 / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.009041, allocations: 1.062 kB / 0.8152 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.009471, allocations: 357.3 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.009473, allocations: 0 / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.009581, allocations: 20.62 kB / 0.8156 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.009585, allocations: 3.938 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.009598, allocations: 8.953 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.009599, allocations: 0 / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.0096, allocations: 3.406 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.009931, allocations: 271.9 kB / 0.8158 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.009962, allocations: 11.98 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.00998, allocations: 7.922 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.01005, allocations: 4 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.01008, allocations: 11.98 kB / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.01009, allocations: 0 / 0.8159 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.508e-05/0.01016, allocations: 123.2 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01016, allocations: 0 / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002715/0.01043, allocations: 50.08 kB / 0.816 GB, free: 12.48 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002817/0.01072, allocations: 147.1 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.01089, allocations: 67.59 kB / 0.8162 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01089, allocations: 4 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.719e-05/0.01096, allocations: 44.05 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.01117, allocations: 11.31 kB / 0.8163 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.01158, allocations: 193.8 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.909e-05/0.01166, allocations: 72.47 kB / 0.8166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.382e-05/0.01171, allocations: 14.11 kB / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.01174, allocations: 12.5 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.01174, allocations: 0.9375 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of Templates: time 0.004783/0.01653, allocations: 1.428 MB / 0.818 GB, free: 10.47 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.037007133010775]