Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00138/0.00138, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.001557/0.001557, allocations: 168.3 kB / 22.46 MB, free: 5.359 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.875/2.875, allocations: 389 MB / 0.633 GB, free: 1.027 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 1 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.944e-05, allocations: 2.281 kB / 1 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001703/0.001732, allocations: 0.6085 MB / 1.001 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0006958/0.002428, allocations: 322.8 kB / 1.001 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.002458, allocations: 0 / 1.001 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.002475, allocations: 0 / 1.001 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 1.762e-05/0.002493, allocations: 4 kB / 1.001 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.002998, allocations: 111.6 kB / 1.001 GB, free: 5.164 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 4.974e-05/0.003048, allocations: 4 kB / 1.001 GB, free: 5.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.003091, allocations: 3.938 kB / 1.001 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.003121, allocations: 11.98 kB / 1.001 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.003169, allocations: 7.984 kB / 1.001 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.003183, allocations: 0 / 1.001 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.003599, allocations: 255.6 kB / 1.001 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.003616, allocations: 11.98 kB / 1.001 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.595e-05/0.003632, allocations: 0 / 1.001 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.00386, allocations: 123.7 kB / 1.002 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003863, allocations: 0 / 1.002 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003864, allocations: 0 / 1.002 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.003872, allocations: 0 / 1.002 GB, free: 4.754 MB / 0.9044 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.0004015/0.004274, allocations: 266.2 kB / 1.002 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.004308, allocations: 8.031 kB / 1.002 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.004369, allocations: 8.922 kB / 1.002 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.004485, allocations: 101.8 kB / 1.002 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.004492, allocations: 4.375 kB / 1.002 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.004517, allocations: 4.375 kB / 1.002 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.004635, allocations: 59.91 kB / 1.002 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.004644, allocations: 192 / 1.002 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.004657, allocations: 8.359 kB / 1.002 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.004665, allocations: 8.297 kB / 1.002 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.004691, allocations: 7.938 kB / 1.002 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.004841, allocations: 101.3 kB / 1.002 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 5.512e-05/0.004896, allocations: 22.58 kB / 1.002 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.004919, allocations: 12.84 kB / 1.002 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/0.005496, allocations: 71.98 kB / 1.002 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.00554, allocations: 34.56 kB / 1.002 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.005541, allocations: 0 / 1.002 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0005178/0.006059, allocations: 177.2 kB / 1.002 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.0061, allocations: 55.34 kB / 1.002 GB, free: 3.656 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.006205, allocations: 105.8 kB / 1.003 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.006223, allocations: 25.7 kB / 1.003 GB, free: 3.512 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.006273, allocations: 84.12 kB / 1.003 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.006296, allocations: 7.906 kB / 1.003 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.006334, allocations: 17.72 kB / 1.003 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.006482, allocations: 314.8 kB / 1.003 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-05/0.006515, allocations: 12.33 kB / 1.003 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.006552, allocations: 17.72 kB / 1.003 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.912e-05/0.006601, allocations: 21.72 kB / 1.003 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.006601, allocations: 0 / 1.003 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001134/0.006715, allocations: 53.62 kB / 1.003 GB, free: 2.957 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.006731, allocations: 8 kB / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.006735, allocations: 0 / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.006749, allocations: 0 / 1.003 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.595e-05/0.006815, allocations: 19.94 kB / 1.003 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.006822, allocations: 8 kB / 1.003 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/0.006841, allocations: 0 / 1.003 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.006851, allocations: 7.984 kB / 1.003 GB, free: 2.914 MB / 0.9044 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.911e-05/0.006941, allocations: 111 kB / 1.003 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.006966, allocations: 0 / 1.003 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.007104, allocations: 57.38 kB / 1.003 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007105, allocations: 0 / 1.003 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.007109, allocations: 0 / 1.003 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.007116, allocations: 3.938 kB / 1.003 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.007221, allocations: 109.2 kB / 1.003 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007222, allocations: 0 / 1.003 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.007274, allocations: 4 kB / 1.003 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.007276, allocations: 0 / 1.003 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.007282, allocations: 0 / 1.003 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.007283, allocations: 4 kB / 1.003 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007284, allocations: 0 / 1.003 GB, free: 2.578 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.007448, allocations: 88.94 kB / 1.004 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.007456, allocations: 4.031 kB / 1.004 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.007468, allocations: 240 / 1.004 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.21e-05/0.007511, allocations: 4.062 kB / 1.004 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.007524, allocations: 0 / 1.004 GB, free: 2.465 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.007535, allocations: 11.98 kB / 1.004 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.007581, allocations: 83.2 kB / 1.004 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.007581, allocations: 0 / 1.004 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002282/0.007809, allocations: 23.94 kB / 1.004 GB, free: 2.348 MB / 0.9044 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.0002168/0.008026, allocations: 123.2 kB / 1.004 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.583e-05/0.008122, allocations: 19.94 kB / 1.004 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.008124, allocations: 224 / 1.004 GB, free: 2.199 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-05/0.008142, allocations: 11.98 kB / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.008291, allocations: 13.97 kB / 1.004 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.008572, allocations: 104.8 kB / 1.004 GB, free: 2.047 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.36e-05/0.008625, allocations: 63.28 kB / 1.004 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.008654, allocations: 4 kB / 1.004 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.008673, allocations: 8.5 kB / 1.004 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.008674, allocations: 0 / 1.004 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of Templates: time 0.003756/0.01243, allocations: 0.9007 MB / 1.005 GB, free: 1.066 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.805616609752178]