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.001707/0.001707, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002023/0.002023, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.85/2.85, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003026/0.003026, allocations: 67.89 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8893/0.8923, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00157/0.8939, allocations: 0.6072 MB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0006269/0.8945, allocations: 314.3 kB / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.8946, allocations: 0 / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.8946, allocations: 0 / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 1.553e-05/0.8946, allocations: 0 / 1.188 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.895, allocations: 119 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.942e-05/0.8951, allocations: 15.31 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.8951, allocations: 1.969 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.498e-05/0.8951, allocations: 3.578 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.367e-05/0.8952, allocations: 3 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.8952, allocations: 1.406 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.8956, allocations: 260 kB / 1.188 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.8956, allocations: 5.297 kB / 1.188 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.8956, allocations: 13.89 kB / 1.188 GB, free: 15.49 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.8958, allocations: 87.8 kB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8958, allocations: 0 / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8958, allocations: 1.375 kB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.8958, allocations: 0 / 1.188 GB, free: 15.47 MB / 1.076 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.000259/0.896, allocations: 267.4 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.8961, allocations: 9.625 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.8961, allocations: 2.312 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.811e-05/0.8962, allocations: 109.1 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.8962, allocations: 5.688 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.8962, allocations: 5.75 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.632e-05/0.8963, allocations: 58.48 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.8963, allocations: 4.172 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.8963, allocations: 9.875 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.8963, allocations: 0 / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.8963, allocations: 3.406 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.144e-05/0.8964, allocations: 97.25 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.646e-05/0.8965, allocations: 29.66 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.8965, allocations: 7.031 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.8971, allocations: 75.59 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.8971, allocations: 36.2 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8971, allocations: 0 / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0004059/0.8975, allocations: 183.7 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.689e-05/0.8975, allocations: 53.34 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.023e-05/0.8975, allocations: 97.95 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.8975, allocations: 29.64 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.299e-05/0.8976, allocations: 81.81 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.8976, allocations: 17.61 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.8976, allocations: 15.67 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.8976, allocations: 312.4 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.8977, allocations: 8.844 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.8977, allocations: 16.42 kB / 1.189 GB, free: 13.95 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/0.8977, allocations: 32.44 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.8977, allocations: 0 / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.666e-05/0.8978, allocations: 56.72 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.8978, allocations: 6.062 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.8978, allocations: 0.9688 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8978, allocations: 5.062 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.8979, allocations: 6.75 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8979, allocations: 1.938 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.855e-05/0.8979, allocations: 5.125 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.8979, allocations: 0.9375 kB / 1.19 GB, free: 13.88 MB / 1.076 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 4.716e-05/0.898, allocations: 109.4 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.898, allocations: 5.969 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.8981, allocations: 63.28 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8981, allocations: 0 / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.8981, allocations: 1.094 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8981, allocations: 0.8906 kB / 1.19 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.622e-05/0.8982, allocations: 99.34 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8982, allocations: 4 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.8982, allocations: 5.688 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.8982, allocations: 0 / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.8982, allocations: 5.703 kB / 1.19 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.8982, allocations: 7.938 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8982, allocations: 1.875 kB / 1.19 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.8983, allocations: 76.69 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-06/0.8983, allocations: 5.75 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.8984, allocations: 1.281 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.149e-05/0.8984, allocations: 13.77 kB / 1.19 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.8984, allocations: 6.281 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.8984, allocations: 1.688 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.722e-05/0.8984, allocations: 78.41 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.8984, allocations: 3.938 kB / 1.19 GB, free: 13.39 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002163/0.8987, allocations: 23.95 kB / 1.19 GB, free: 13.39 MB / 1.076 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.0001605/0.8988, allocations: 122.8 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 8.085e-05/0.8989, allocations: 13.55 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8989, allocations: 0 / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-05/0.8989, allocations: 18.02 kB / 1.19 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.899, allocations: 3.312 kB / 1.19 GB, free: 13.28 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.8992, allocations: 117.6 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.75e-05/0.8993, allocations: 60.22 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.53e-05/0.8993, allocations: 3.125 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.8993, allocations: 11.8 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.8993, allocations: 0 / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of Templates: time 0.003334/0.9026, allocations: 0.887 MB / 1.191 GB, free: 12.99 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.631355684949085]