Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001645/0.001645, allocations: 76.42 kB / 20.23 MB, free: 4.203 MB / 18.57 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.002045/0.002045, allocations: 157.3 kB / 23.54 MB, free: 0.8906 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.464/1.464, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.718/2.718, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7864 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.332e-05/3.523e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001868/0.001903, allocations: 0.6026 MB / 0.787 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.002612, allocations: 292 kB / 0.7873 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.002638, allocations: 0 / 0.7873 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.186e-05/0.00265, allocations: 0 / 0.7873 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-06/0.002656, allocations: 0.8438 kB / 0.7873 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004944/0.003151, allocations: 109.4 kB / 0.7874 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.94e-05/0.00319, allocations: 0 / 0.7874 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.054e-05/0.003221, allocations: 4 kB / 0.7874 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.123e-05/0.003242, allocations: 0.7812 kB / 0.7874 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.479e-05/0.003267, allocations: 0 / 0.7874 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.003279, allocations: 0.875 kB / 0.7874 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.00376, allocations: 263.6 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.003776, allocations: 3.984 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.003795, allocations: 1.062 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.004022, allocations: 111.7 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004024, allocations: 0 / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004025, allocations: 0.6562 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.004029, allocations: 2.688 kB / 0.7878 GB, free: 11.27 MB / 0.7448 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.0003677/0.004397, allocations: 270.2 kB / 0.788 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.004434, allocations: 8.031 kB / 0.788 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/0.004514, allocations: 0.9375 kB / 0.788 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.004627, allocations: 105.8 kB / 0.7881 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.004639, allocations: 384 / 0.7881 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-06/0.004645, allocations: 384 / 0.7881 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.546e-05/0.004731, allocations: 31.73 kB / 0.7882 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.004739, allocations: 192 / 0.7882 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.004749, allocations: 8.359 kB / 0.7882 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.004753, allocations: 384 / 0.7882 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.115e-05/0.004774, allocations: 4.531 kB / 0.7882 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001507/0.004925, allocations: 105.3 kB / 0.7883 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.256e-05/0.004978, allocations: 16.2 kB / 0.7883 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.004997, allocations: 4.859 kB / 0.7883 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/0.005383, allocations: 49.23 kB / 0.7883 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.005421, allocations: 35.28 kB / 0.7884 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.005422, allocations: 0 / 0.7884 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002049/0.005627, allocations: 38.75 kB / 0.7884 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.005673, allocations: 51.41 kB / 0.7885 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.005737, allocations: 95.23 kB / 0.7886 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.005758, allocations: 25.7 kB / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.005803, allocations: 80.14 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.00583, allocations: 0 / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.005861, allocations: 15.5 kB / 0.7887 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001806/0.006042, allocations: 318.8 kB / 0.789 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.006053, allocations: 0 / 0.789 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.006058, allocations: 3.938 kB / 0.789 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.006095, allocations: 14.39 kB / 0.789 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006097, allocations: 0 / 0.789 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.362e-05/0.006181, allocations: 37.69 kB / 0.789 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.006197, allocations: 4.5 kB / 0.789 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.006202, allocations: 0.5312 kB / 0.789 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.006219, allocations: 0 / 0.789 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.006263, allocations: 5.906 kB / 0.789 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.006267, allocations: 0 / 0.789 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.32e-05/0.006281, allocations: 3.938 kB / 0.789 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.006285, allocations: 0 / 0.789 GB, free: 9.797 MB / 0.7448 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 0.0001069/0.006392, allocations: 112.3 kB / 0.7892 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.006422, allocations: 11.94 kB / 0.7892 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.006523, allocations: 40.69 kB / 0.7892 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.006525, allocations: 0 / 0.7892 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.006529, allocations: 0 / 0.7892 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.006532, allocations: 0 / 0.7892 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.006637, allocations: 101.8 kB / 0.7893 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.006643, allocations: 7.984 kB / 0.7893 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.318e-05/0.006657, allocations: 0.7188 kB / 0.7893 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.006659, allocations: 0.5312 kB / 0.7893 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.006665, allocations: 4 kB / 0.7893 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006666, allocations: 1.031 kB / 0.7893 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006667, allocations: 0 / 0.7893 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.006779, allocations: 65.67 kB / 0.7894 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-06/0.006785, allocations: 3.984 kB / 0.7894 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.006795, allocations: 1 kB / 0.7894 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-06/0.006803, allocations: 0 / 0.7894 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.00682, allocations: 4 kB / 0.7894 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.006822, allocations: 0.8438 kB / 0.7894 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.006868, allocations: 75.28 kB / 0.7895 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006868, allocations: 1.562 kB / 0.7895 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002179/0.007086, allocations: 11.94 kB / 0.7895 GB, free: 9.305 MB / 0.7448 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.0002164/0.007302, allocations: 120.1 kB / 0.7896 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.868e-05/0.007371, allocations: 4 kB / 0.7896 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.007373, allocations: 2.094 kB / 0.7896 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.007384, allocations: 7.938 kB / 0.7896 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.007528, allocations: 5.688 kB / 0.7896 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002228/0.00775, allocations: 74.91 kB / 0.7897 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.007816, allocations: 59.34 kB / 0.7897 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.531e-05/0.007831, allocations: 2.25 kB / 0.7897 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.007855, allocations: 8.5 kB / 0.7897 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.007856, allocations: 0 / 0.7897 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of Templates: time 0.003545/0.0114, allocations: 490.3 kB / 0.7902 GB, free: 8.512 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.397529114037752]