Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002081/0.002081, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.00265/0.00265, allocations: 161.7 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.468/1.468, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.846/2.846, allocations: 359 MB / 0.6048 GB, free: 10.93 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.868e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002547/0.002575, allocations: 0.6152 MB / 0.787 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003589, allocations: 304.1 kB / 0.7873 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.003613, allocations: 0 / 0.7873 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.334e-05/0.003627, allocations: 1.625 kB / 0.7873 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.607e-05/0.003663, allocations: 3.938 kB / 0.7873 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.00436, allocations: 116.8 kB / 0.7874 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.004423, allocations: 11.94 kB / 0.7874 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.004457, allocations: 0 / 0.7874 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.335e-05/0.00449, allocations: 8.609 kB / 0.7875 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.467e-05/0.004555, allocations: 9.391 kB / 0.7875 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.00457, allocations: 0 / 0.7875 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006632/0.005233, allocations: 255.7 kB / 0.7877 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.005248, allocations: 0 / 0.7877 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.005277, allocations: 4.828 kB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.005619, allocations: 127.6 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.005622, allocations: 0.5625 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.32e-07/0.005623, allocations: 0 / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.005627, allocations: 4.625 kB / 0.7878 GB, free: 11.3 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005067/0.006134, allocations: 262.2 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.006179, allocations: 8.938 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.006282, allocations: 4.938 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.006437, allocations: 110.4 kB / 0.7882 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.006451, allocations: 384 / 0.7882 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.006478, allocations: 6.031 kB / 0.7882 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.006631, allocations: 59.97 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006641, allocations: 192 / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006652, allocations: 384 / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.006657, allocations: 1.969 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.907e-05/0.006696, allocations: 11.92 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.006915, allocations: 105.3 kB / 0.7884 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.849e-05/0.006983, allocations: 23.52 kB / 0.7884 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.00701, allocations: 8.922 kB / 0.7884 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008051/0.007815, allocations: 79.19 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.007864, allocations: 34.56 kB / 0.7885 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.007865, allocations: 0.7188 kB / 0.7885 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006875/0.008553, allocations: 173.9 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.008606, allocations: 52.5 kB / 0.7887 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.00871, allocations: 97.8 kB / 0.7888 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.008737, allocations: 26.3 kB / 0.7889 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.008801, allocations: 84.66 kB / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.008832, allocations: 15.91 kB / 0.789 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.008885, allocations: 19.09 kB / 0.789 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.0091, allocations: 310.8 kB / 0.7893 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.009131, allocations: 11.92 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.00918, allocations: 22.81 kB / 0.7893 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.969e-05/0.009249, allocations: 25.72 kB / 0.7893 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.009255, allocations: 4.938 kB / 0.7893 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001691/0.009424, allocations: 55.19 kB / 0.7894 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.009445, allocations: 9.562 kB / 0.7894 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.00945, allocations: 0 / 0.7894 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.009473, allocations: 0 / 0.7894 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.96e-05/0.009553, allocations: 5.344 kB / 0.7894 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.009562, allocations: 7.938 kB / 0.7894 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.009591, allocations: 0 / 0.7894 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.009599, allocations: 0 / 0.7894 GB, free: 9.5 MB / 0.7448 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 0.000133/0.009732, allocations: 121.3 kB / 0.7895 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.009776, allocations: 4 kB / 0.7895 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.009966, allocations: 57.27 kB / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009969, allocations: 0 / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.009973, allocations: 0 / 0.7896 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.009979, allocations: 3.938 kB / 0.7896 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.01012, allocations: 105.3 kB / 0.7897 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01012, allocations: 0.6875 kB / 0.7897 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.01019, allocations: 4 kB / 0.7897 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.0102, allocations: 0.5 kB / 0.7897 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01021, allocations: 4.562 kB / 0.7897 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.205e-05/0.01022, allocations: 0 / 0.7897 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.01022, allocations: 0.5625 kB / 0.7897 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.01045, allocations: 90.42 kB / 0.7898 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.01045, allocations: 0 / 0.7898 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.01047, allocations: 0 / 0.7898 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.01052, allocations: 0 / 0.7898 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.01054, allocations: 4.531 kB / 0.7898 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.75e-06/0.01054, allocations: 1.625 kB / 0.7898 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.01061, allocations: 87.22 kB / 0.7899 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01061, allocations: 0 / 0.7899 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003949/0.01101, allocations: 23.92 kB / 0.7899 GB, free: 8.941 MB / 0.7448 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.0003169/0.01133, allocations: 132.1 kB / 0.79 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.01143, allocations: 20.41 kB / 0.79 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01143, allocations: 0.8125 kB / 0.79 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-05/0.01146, allocations: 11.98 kB / 0.79 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.01169, allocations: 0.9375 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000369/0.01206, allocations: 112.6 kB / 0.7902 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.829e-05/0.01216, allocations: 60.7 kB / 0.7902 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.502e-05/0.01221, allocations: 8.938 kB / 0.7902 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.01225, allocations: 16.5 kB / 0.7902 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.01225, allocations: 2.312 kB / 0.7902 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of Templates: time 0.005174/0.01742, allocations: 0.9062 MB / 0.7911 GB, free: 7.66 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.612389461952262]