Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 251 MB, free: 13.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.89 kB / 1.062 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7892/0.7912, allocations: 160.8 MB / 1.219 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002601/0.7938, allocations: 0.6375 MB / 1.219 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009649/0.7948, allocations: 359.9 kB / 1.219 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.7948, allocations: 0.8438 kB / 1.219 GB, free: 2.984 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.7948, allocations: 3.938 kB / 1.219 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.7949, allocations: 0 / 1.219 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.7955, allocations: 125.6 kB / 1.22 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.569e-05/0.7956, allocations: 19.58 kB / 1.22 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.295e-05/0.7956, allocations: 5.078 kB / 1.22 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.7957, allocations: 17.64 kB / 1.22 GB, free: 2.879 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.69e-05/0.7958, allocations: 7.75 kB / 1.22 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.7958, allocations: 1.125 kB / 1.22 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005079/0.7963, allocations: 284.9 kB / 1.22 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.7963, allocations: 1.125 kB / 1.22 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.7964, allocations: 15.89 kB / 1.22 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.7966, allocations: 97.73 kB / 1.22 GB, free: 2.645 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.7966, allocations: 3.984 kB / 1.22 GB, free: 2.641 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7966, allocations: 5.125 kB / 1.22 GB, free: 2.637 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.7966, allocations: 0 / 1.22 GB, free: 2.637 MB / 0.92 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.0007046/0.7973, allocations: 366.2 kB / 1.22 GB, free: 2.246 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.7974, allocations: 12.53 kB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.207e-05/0.7975, allocations: 11.28 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.7977, allocations: 161.9 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.7977, allocations: 7.25 kB / 1.221 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.7977, allocations: 6.625 kB / 1.221 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.7979, allocations: 48.72 kB / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.7979, allocations: 1.406 kB / 1.221 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.798, allocations: 7.938 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.798, allocations: 1 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.466e-05/0.798, allocations: 15.23 kB / 1.221 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.7983, allocations: 174.2 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.7985, allocations: 57.62 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.964e-05/0.7985, allocations: 32.41 kB / 1.221 GB, free: 1.699 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008686/0.7994, allocations: 452.9 kB / 1.221 GB, free: 1.211 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.7995, allocations: 39.62 kB / 1.221 GB, free: 1.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.7995, allocations: 0.8438 kB / 1.221 GB, free: 1.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.001448/0.8009, allocations: 0.5835 MB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.801, allocations: 52.56 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.506e-05/0.8011, allocations: 101.4 kB / 1.222 GB, free: 468 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.8011, allocations: 30.83 kB / 1.222 GB, free: 432 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.8011, allocations: 81.2 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.297e-05/0.8012, allocations: 47.98 kB / 1.222 GB, free: 304 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.8012, allocations: 26.03 kB / 1.222 GB, free: 280 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.8014, allocations: 321 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-05/0.8015, allocations: 19.61 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.8015, allocations: 24.22 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.8016, allocations: 61.62 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.8016, allocations: 4 kB / 1.223 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001785/0.8018, allocations: 94.78 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.8018, allocations: 5.594 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8018, allocations: 192 / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8018, allocations: 5.125 kB / 1.223 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.802, allocations: 25.86 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.802, allocations: 1.062 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.877e-05/0.802, allocations: 9.047 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.802, allocations: 2.156 kB / 1.223 GB, free: 15.82 MB / 0.9356 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.712e-05/0.8021, allocations: 120.9 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.8021, allocations: 14.86 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.8023, allocations: 104.1 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.8023, allocations: 0.9062 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.8023, allocations: 3.938 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.8023, allocations: 0.9375 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.8028, allocations: 353.4 kB / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.8028, allocations: 0 / 1.223 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.8029, allocations: 21.83 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8029, allocations: 4 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.8029, allocations: 9.031 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8029, allocations: 1.062 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8029, allocations: 1.125 kB / 1.223 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.8032, allocations: 222.1 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.8033, allocations: 87.64 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.8033, allocations: 9.281 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.8034, allocations: 2.312 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.8034, allocations: 10.23 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.8034, allocations: 7.219 kB / 1.224 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.8035, allocations: 81.47 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8035, allocations: 1.094 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002967/0.8038, allocations: 44.7 kB / 1.224 GB, free: 14.85 MB / 0.9356 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.0002623/0.8041, allocations: 143.8 kB / 1.224 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001658/0.8042, allocations: 56.08 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8042, allocations: 5.094 kB / 1.224 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.8043, allocations: 35.52 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.8045, allocations: 2.156 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004214/0.8049, allocations: 182.8 kB / 1.224 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.8053, allocations: 0.6832 MB / 1.225 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.248e-05/0.8053, allocations: 14.86 kB / 1.225 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.8054, allocations: 12.34 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of SimCode: time 4.6e-07/0.8054, allocations: 0 / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.004683/0.8101, allocations: 1.461 MB / 1.226 GB, free: 13.1 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.521983905695379]