Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001668/0.001668, allocations: 85.19 kB / 19.18 MB, free: 2.504 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.001796/0.001796, allocations: 171.3 kB / 22.46 MB, free: 5.383 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.611/1.611, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.888/2.888, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.569e-05, allocations: 9.938 kB / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002243/0.002269, allocations: 0.6263 MB / 1.001 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.003184, allocations: 314.8 kB / 1.001 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.00322, allocations: 0 / 1.001 GB, free: 6.285 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.003242, allocations: 7.938 kB / 1.001 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 2.994e-05/0.003272, allocations: 0 / 1.001 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.00391, allocations: 119.5 kB / 1.001 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.364e-05/0.003994, allocations: 27.97 kB / 1.001 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.004039, allocations: 4 kB / 1.001 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.078e-05/0.0041, allocations: 11.98 kB / 1.001 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.03e-05/0.00416, allocations: 15.91 kB / 1.001 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.00418, allocations: 8 kB / 1.001 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.004768, allocations: 255.7 kB / 1.002 GB, free: 5.844 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.004789, allocations: 3.984 kB / 1.002 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.004823, allocations: 15.92 kB / 1.002 GB, free: 5.824 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.005146, allocations: 131.6 kB / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005148, allocations: 0 / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005149, allocations: 0 / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.005153, allocations: 0 / 1.002 GB, free: 5.695 MB / 0.9512 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.0005266/0.005679, allocations: 290 kB / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.00572, allocations: 8.031 kB / 1.002 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.005811, allocations: 4.938 kB / 1.002 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.005945, allocations: 105.8 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.005963, allocations: 4.375 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.00599, allocations: 8.312 kB / 1.002 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.006187, allocations: 101.6 kB / 1.002 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.00621, allocations: 8.141 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.006222, allocations: 384 / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.006227, allocations: 384 / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.801e-05/0.006305, allocations: 27.86 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.006525, allocations: 113.3 kB / 1.002 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.006683, allocations: 54.55 kB / 1.002 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.357e-05/0.006746, allocations: 28.86 kB / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/0.007503, allocations: 75.91 kB / 1.002 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.007545, allocations: 34.56 kB / 1.003 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 6.011e-06/0.007551, allocations: 7.938 kB / 1.003 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.001755/0.009306, allocations: 459.7 kB / 1.003 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.009363, allocations: 55.34 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.009463, allocations: 93.86 kB / 1.003 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.009493, allocations: 33.7 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.009554, allocations: 84.12 kB / 1.003 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.009614, allocations: 31.7 kB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.009685, allocations: 33.64 kB / 1.003 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.009861, allocations: 322.8 kB / 1.004 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.009925, allocations: 19.98 kB / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.326e-05/0.009989, allocations: 26.23 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.01013, allocations: 48.86 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.01013, allocations: 0 / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002605/0.01039, allocations: 101.6 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.01041, allocations: 7.984 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.01042, allocations: 3.938 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.01044, allocations: 3.938 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.01059, allocations: 20 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.0106, allocations: 4 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.01064, allocations: 4 kB / 1.004 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.01065, allocations: 4 kB / 1.004 GB, free: 3.277 MB / 0.9512 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.0001217/0.01077, allocations: 118.4 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.01081, allocations: 0 / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.0111, allocations: 109.6 kB / 1.004 GB, free: 3.039 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.01111, allocations: 3.938 kB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01111, allocations: 0 / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.01112, allocations: 3.984 kB / 1.004 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.01165, allocations: 294.4 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01165, allocations: 4 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.01182, allocations: 27.92 kB / 1.004 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.01183, allocations: 3.938 kB / 1.004 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.01185, allocations: 4 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.01185, allocations: 96 / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01185, allocations: 3.938 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.01225, allocations: 216.4 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.01229, allocations: 8.016 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.01232, allocations: 7.938 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.01245, allocations: 7.984 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.01248, allocations: 7.922 kB / 1.005 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.0125, allocations: 12.06 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.01256, allocations: 83.28 kB / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01256, allocations: 0 / 1.005 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004718/0.01303, allocations: 43.88 kB / 1.005 GB, free: 2.27 MB / 0.9512 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.0003889/0.01342, allocations: 143.1 kB / 1.005 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.01364, allocations: 59.86 kB / 1.005 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.01364, allocations: 0 / 1.005 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.243e-05/0.01373, allocations: 31.98 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.01407, allocations: 4 kB / 1.005 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005525/0.01463, allocations: 180.7 kB / 1.005 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.031e-05/0.01472, allocations: 67.34 kB / 1.005 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.698e-05/0.01478, allocations: 12.25 kB / 1.005 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.01482, allocations: 16.5 kB / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of SimCode: time 3.81e-07/0.01482, allocations: 0 / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of Templates: time 0.006614/0.02144, allocations: 1.394 MB / 1.007 GB, free: 340 kB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.216508388519287]