Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001594/0.001594, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001815/0.001815, allocations: 206.6 kB / 22.99 MB, free: 4.965 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 3.245/3.245, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 MB / 0.6231 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.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [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.00217/0.00217, allocations: 78.83 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3132, allocations: 181.9 MB / 1.365 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001662/0.3149, allocations: 0.5952 MB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006752/0.3155, allocations: 299.3 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.3156, allocations: 0 / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.3156, allocations: 0 / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-06/0.3156, allocations: 0 / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.316, allocations: 110.1 kB / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.732e-05/0.316, allocations: 4 kB / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.3161, allocations: 0 / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.007e-05/0.3161, allocations: 0 / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.3161, allocations: 3.984 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.186e-06/0.3161, allocations: 4 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.3165, allocations: 255.7 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.215e-05/0.3165, allocations: 3.984 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.356e-05/0.3165, allocations: 4 kB / 1.366 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.3167, allocations: 95.67 kB / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.3167, allocations: 0 / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3167, allocations: 0 / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.3167, allocations: 0 / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000302/0.317, allocations: 254.2 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3171, allocations: 12.03 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.3171, allocations: 0.9375 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.577e-05/0.3172, allocations: 102.5 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3172, allocations: 384 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.3172, allocations: 4.375 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.091e-05/0.3173, allocations: 42.19 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3173, allocations: 4.125 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3173, allocations: 3.938 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.3173, allocations: 0 / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.808e-05/0.3174, allocations: 4 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.3175, allocations: 93.33 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.525e-05/0.3175, allocations: 18.61 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.799e-05/0.3175, allocations: 8.859 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/0.3179, allocations: 48.02 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3179, allocations: 30.56 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.3179, allocations: 3.938 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001336/0.318, allocations: 33.64 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3181, allocations: 55.41 kB / 1.367 GB, free: 11.31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.3181, allocations: 89.86 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3181, allocations: 25.7 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.3182, allocations: 80.14 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3182, allocations: 4.125 kB / 1.367 GB, free: 11.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.3182, allocations: 21.7 kB / 1.367 GB, free: 11.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3184, allocations: 310.8 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.3184, allocations: 0 / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.3184, allocations: 0 / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.654e-05/0.3184, allocations: 16.73 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3184, allocations: 0 / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.347e-05/0.3185, allocations: 33.7 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3185, allocations: 4 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3185, allocations: 96 / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3185, allocations: 4 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.349e-05/0.3185, allocations: 15.92 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.3186, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.546e-06/0.3186, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3186, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 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 (1): * Single equations (assignments): 1 * 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 6.885e-05/0.3186, allocations: 105.8 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.3187, allocations: 7.984 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.739e-05/0.3187, allocations: 40.62 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3187, allocations: 3.938 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3187, allocations: 4.031 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.3188, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.471e-05/0.3188, allocations: 101.3 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3188, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.058e-05/0.3188, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3188, allocations: 4 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.3188, allocations: 0 / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3189, allocations: 4 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.3189, allocations: 7.875 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.948e-05/0.3189, allocations: 61.06 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-06/0.3189, allocations: 8.031 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.319, allocations: 4 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.319, allocations: 0 / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.319, allocations: 3.938 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.319, allocations: 0 / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.636e-05/0.319, allocations: 79.28 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.319, allocations: 0 / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001907/0.3192, allocations: 15.92 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001699/0.3194, allocations: 107.2 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.557e-05/0.3194, allocations: 4 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3194, allocations: 4 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.3195, allocations: 3.938 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.3196, allocations: 6.438 kB / 1.368 GB, free: 10.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.3198, allocations: 114.5 kB / 1.368 GB, free: 9.891 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.389e-05/0.3198, allocations: 55.36 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.3198, allocations: 7.438 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.3198, allocations: 0 / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of Templates: time 0.001831/0.3217, allocations: 468.8 kB / 1.368 GB, free: 9.352 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.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: 10.742580574937165]