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.0009819/0.0009819, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001072/0.001072, allocations: 165 kB / 23.82 MB, free: 0.7422 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 0.9375/0.9375, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.708/1.708, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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.453e-06/1.453e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.617e-05/1.762e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0009784/0.000996, allocations: 0.5947 MB / 0.7877 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004422/0.001438, allocations: 299.4 kB / 0.788 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.001452, allocations: 4.562 kB / 0.788 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.001468, allocations: 0 / 0.788 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.002e-06/0.001474, allocations: 0.875 kB / 0.788 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.001853, allocations: 105.5 kB / 0.7881 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.001897, allocations: 4 kB / 0.7881 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.001933, allocations: 7.984 kB / 0.7881 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.249e-05/0.001956, allocations: 2.625 kB / 0.7881 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.962e-05/0.001975, allocations: 0 / 0.7881 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.001988, allocations: 0 / 0.7881 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.002259, allocations: 251.7 kB / 0.7884 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.002271, allocations: 0 / 0.7884 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.543e-05/0.002286, allocations: 3.984 kB / 0.7884 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.002437, allocations: 115.7 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002438, allocations: 1.594 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002439, allocations: 0 / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.002442, allocations: 0 / 0.7885 GB, free: 11.04 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.0002457/0.002688, allocations: 364.1 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.002727, allocations: 8.031 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.468e-05/0.002802, allocations: 5.469 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.714e-05/0.002859, allocations: 113.3 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.00287, allocations: 4.359 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-06/0.002878, allocations: 1.312 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.276e-05/0.002951, allocations: 26.27 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.002958, allocations: 6.078 kB / 0.789 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.002968, allocations: 4.375 kB / 0.789 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.002976, allocations: 4.125 kB / 0.789 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.26e-05/0.002989, allocations: 0 / 0.789 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.003152, allocations: 104.6 kB / 0.7891 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.555e-05/0.003188, allocations: 32.56 kB / 0.7891 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.003203, allocations: 15.69 kB / 0.7892 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.003459, allocations: 49.02 kB / 0.7892 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.003477, allocations: 34.11 kB / 0.7892 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 2.474e-06/0.00348, allocations: 2.562 kB / 0.7892 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.003621, allocations: 33.7 kB / 0.7893 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.00365, allocations: 55.34 kB / 0.7893 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.263e-05/0.003693, allocations: 146.2 kB / 0.7895 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.016e-06/0.003701, allocations: 25.7 kB / 0.7895 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.003729, allocations: 126.9 kB / 0.7896 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.003758, allocations: 4.531 kB / 0.7896 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.003781, allocations: 23.36 kB / 0.7896 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.003885, allocations: 492.8 kB / 0.7901 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.003895, allocations: 4 kB / 0.7901 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-06/0.003902, allocations: 4.531 kB / 0.7901 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.00393, allocations: 13.31 kB / 0.7901 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.003932, allocations: 0 / 0.7901 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.293e-05/0.003984, allocations: 33.98 kB / 0.7902 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.003997, allocations: 4.594 kB / 0.7902 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.004003, allocations: 4.594 kB / 0.7902 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.004015, allocations: 3.984 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.229e-05/0.004058, allocations: 4.719 kB / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.004063, allocations: 0 / 0.7902 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-06/0.004071, allocations: 5.062 kB / 0.7902 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.004079, allocations: 8 kB / 0.7902 GB, free: 9.121 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 5.815e-05/0.004137, allocations: 154 kB / 0.7903 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.004149, allocations: 3.953 kB / 0.7903 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.557e-05/0.004224, allocations: 44.67 kB / 0.7904 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.004226, allocations: 0.9688 kB / 0.7904 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.004229, allocations: 0 / 0.7904 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.004233, allocations: 4.656 kB / 0.7904 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.432e-05/0.004287, allocations: 108.6 kB / 0.7905 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004288, allocations: 1.062 kB / 0.7905 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-06/0.004297, allocations: 4 kB / 0.7905 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.004298, allocations: 0 / 0.7905 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.004304, allocations: 4.781 kB / 0.7905 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.004305, allocations: 0 / 0.7905 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.004305, allocations: 1.5 kB / 0.7905 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.336e-05/0.004359, allocations: 72.38 kB / 0.7906 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.635e-06/0.004361, allocations: 0 / 0.7906 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.914e-06/0.004369, allocations: 4 kB / 0.7906 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-06/0.004372, allocations: 1.031 kB / 0.7906 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.004385, allocations: 0 / 0.7906 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.004387, allocations: 0 / 0.7906 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.004412, allocations: 121.2 kB / 0.7907 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004413, allocations: 0 / 0.7907 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001281/0.004541, allocations: 23.86 kB / 0.7907 GB, free: 8.516 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.0001179/0.004659, allocations: 111.2 kB / 0.7908 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.004724, allocations: 17.94 kB / 0.7908 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.004726, allocations: 0 / 0.7908 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-06/0.004733, allocations: 11.69 kB / 0.7909 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.353e-05/0.004817, allocations: 3.984 kB / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001519/0.004969, allocations: 88.45 kB / 0.7909 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.634e-05/0.004995, allocations: 51.89 kB / 0.791 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.388e-05/0.005009, allocations: 1.938 kB / 0.791 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.005022, allocations: 8.5 kB / 0.791 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.005023, allocations: 3.938 kB / 0.791 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.002001/0.007024, allocations: 0.5388 MB / 0.7915 GB, free: 7.637 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.714519694913179]