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.00198/0.00198, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002548/0.002548, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.425/1.425, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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 3.138/3.138, allocations: 429.6 MB / 0.673 GB, free: 3.918 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.353e-06/1.353e-06, allocations: 0 / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.714e-05, allocations: 3.156 kB / 0.8777 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001867/0.001894, allocations: 0.6273 MB / 0.8783 GB, free: 5.84 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007994/0.002694, allocations: 321.9 kB / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.002718, allocations: 0 / 0.8786 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.002736, allocations: 5.062 kB / 0.8786 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.651e-05/0.002772, allocations: 0 / 0.8786 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.003307, allocations: 124.6 kB / 0.8787 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.677e-05/0.003374, allocations: 21.05 kB / 0.8787 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.003414, allocations: 7.938 kB / 0.8787 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.003476, allocations: 11.98 kB / 0.8787 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.142e-05/0.003537, allocations: 21.03 kB / 0.8788 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.003557, allocations: 7.938 kB / 0.8788 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.004031, allocations: 251.7 kB / 0.879 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.00405, allocations: 8.703 kB / 0.879 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.004079, allocations: 7.984 kB / 0.879 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.004345, allocations: 133.2 kB / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.004347, allocations: 0 / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004347, allocations: 0 / 0.8791 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004351, allocations: 0 / 0.8791 GB, free: 4.945 MB / 0.8386 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.0004673/0.004819, allocations: 286.6 kB / 0.8794 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.004859, allocations: 9.812 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.004954, allocations: 4.938 kB / 0.8794 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.005076, allocations: 113.7 kB / 0.8795 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.005092, allocations: 4.375 kB / 0.8795 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.005118, allocations: 8.312 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.005293, allocations: 107 kB / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.005305, allocations: 192 / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.005315, allocations: 384 / 0.8797 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.005322, allocations: 4.375 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.074e-05/0.005383, allocations: 21.52 kB / 0.8797 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.005556, allocations: 105.3 kB / 0.8798 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.00568, allocations: 58.5 kB / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.005737, allocations: 29.08 kB / 0.8799 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/0.006338, allocations: 84.44 kB / 0.8799 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.00638, allocations: 42.48 kB / 0.88 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.006381, allocations: 4 kB / 0.88 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.001417/0.007798, allocations: 451.5 kB / 0.8804 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.007849, allocations: 55.41 kB / 0.8805 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.007935, allocations: 94 kB / 0.8806 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.007962, allocations: 29.7 kB / 0.8806 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.008009, allocations: 80.14 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.008058, allocations: 39.62 kB / 0.8807 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.008116, allocations: 33.66 kB / 0.8807 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.008282, allocations: 318.8 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.065e-05/0.008333, allocations: 23.92 kB / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.008373, allocations: 22.75 kB / 0.8811 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.008482, allocations: 56.84 kB / 0.8811 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.008485, allocations: 4 kB / 0.8811 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002082/0.008693, allocations: 97.69 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.008708, allocations: 8 kB / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.008713, allocations: 48 / 0.8812 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.008734, allocations: 7.922 kB / 0.8813 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.008854, allocations: 27.92 kB / 0.8813 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.00886, allocations: 0 / 0.8813 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.008889, allocations: 4 kB / 0.8813 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.0089, allocations: 8 kB / 0.8813 GB, free: 2.523 MB / 0.8386 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 9.764e-05/0.008998, allocations: 109.8 kB / 0.8814 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.009036, allocations: 11.95 kB / 0.8814 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.009264, allocations: 109.8 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.009274, allocations: 7.938 kB / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.009279, allocations: 0 / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.009282, allocations: 0 / 0.8815 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.009737, allocations: 294.3 kB / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009739, allocations: 0 / 0.8818 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.009867, allocations: 27.92 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.009872, allocations: 7.938 kB / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.009881, allocations: 0 / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.009883, allocations: 0 / 0.8818 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009885, allocations: 4 kB / 0.8818 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.01021, allocations: 219.4 kB / 0.882 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.01025, allocations: 11.97 kB / 0.8821 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.01027, allocations: 3.938 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.657e-05/0.01036, allocations: 8 kB / 0.8821 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.01039, allocations: 7.984 kB / 0.8821 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.0104, allocations: 0 / 0.8821 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.97e-05/0.01046, allocations: 87.27 kB / 0.8822 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.01046, allocations: 4.062 kB / 0.8822 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003203/0.01078, allocations: 47.81 kB / 0.8822 GB, free: 1.516 MB / 0.8386 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.0002678/0.01104, allocations: 139.2 kB / 0.8823 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001556/0.0112, allocations: 63.66 kB / 0.8824 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.0112, allocations: 0 / 0.8824 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.01126, allocations: 35.92 kB / 0.8824 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.0115, allocations: 4 kB / 0.8824 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.01191, allocations: 172.2 kB / 0.8826 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.095e-05/0.01199, allocations: 75.33 kB / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.466e-05/0.01204, allocations: 12.03 kB / 0.8827 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.01208, allocations: 12.5 kB / 0.8827 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.01208, allocations: 0 / 0.8827 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of Templates: time 0.004745/0.01682, allocations: 1.423 MB / 0.8841 GB, free: 15.56 MB / 0.8542 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: 7.9332546959631145]