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.001351/0.001351, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001542/0.001542, allocations: 161 kB / 23.82 MB, free: 0.75 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.9883/0.9883, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.83/1.83, allocations: 359 MB / 0.6052 GB, free: 11.02 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.443e-06/1.443e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.813e-05, allocations: 8.922 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001256/0.001284, allocations: 0.5947 MB / 0.7877 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005081/0.001792, allocations: 299.5 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.783e-05/0.00181, allocations: 0 / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.00183, allocations: 0.5625 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.001836, allocations: 0.875 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.002249, allocations: 104.6 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.349e-05/0.002292, allocations: 4.656 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.002331, allocations: 4 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.002355, allocations: 4.578 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.046e-05/0.002376, allocations: 0 / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.002389, allocations: 5.531 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.002686, allocations: 251.6 kB / 0.7884 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.002699, allocations: 0 / 0.7884 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.002719, allocations: 4 kB / 0.7884 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.002889, allocations: 117.2 kB / 0.7885 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002892, allocations: 0 / 0.7885 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.293e-06/0.002893, allocations: 3.938 kB / 0.7885 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.002897, allocations: 0 / 0.7885 GB, free: 11.07 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.0002695/0.003167, allocations: 361.8 kB / 0.7888 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.003207, allocations: 11.97 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.921e-05/0.003286, allocations: 4.938 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.112e-05/0.003347, allocations: 108.6 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.00336, allocations: 3.812 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.003371, allocations: 384 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.508e-05/0.003456, allocations: 30.27 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.003467, allocations: 4.172 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.003476, allocations: 384 / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.003484, allocations: 384 / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.382e-05/0.003498, allocations: 3.938 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001034/0.003601, allocations: 116.6 kB / 0.7891 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.037e-05/0.003642, allocations: 27 kB / 0.7891 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.003661, allocations: 20.53 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002848/0.003945, allocations: 42.5 kB / 0.7892 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.00397, allocations: 41.38 kB / 0.7892 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.003971, allocations: 0 / 0.7892 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001396/0.004111, allocations: 34.27 kB / 0.7893 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.004136, allocations: 52.53 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.927e-05/0.004175, allocations: 142.2 kB / 0.7895 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.004185, allocations: 29.7 kB / 0.7895 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.004214, allocations: 127.6 kB / 0.7896 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.004241, allocations: 0 / 0.7896 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.004265, allocations: 20.09 kB / 0.7896 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.004379, allocations: 0.4883 MB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.00439, allocations: 1.281 kB / 0.7901 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-06/0.004396, allocations: 3.984 kB / 0.7901 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.004426, allocations: 12.31 kB / 0.7901 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004429, allocations: 0 / 0.7901 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.732e-05/0.004486, allocations: 35.3 kB / 0.7902 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.004498, allocations: 8 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004502, allocations: 0 / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.004517, allocations: 2.219 kB / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.697e-05/0.004564, allocations: 0 / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004568, allocations: 0 / 0.7902 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.939e-06/0.004578, allocations: 15.83 kB / 0.7902 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.004582, allocations: 0 / 0.7902 GB, free: 9.164 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.771e-05/0.00464, allocations: 160.6 kB / 0.7903 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.004654, allocations: 6.75 kB / 0.7903 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/0.004729, allocations: 36.69 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.00473, allocations: 0 / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.004734, allocations: 0 / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.004736, allocations: 0 / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.264e-05/0.004798, allocations: 116.6 kB / 0.7905 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.0048, allocations: 5.438 kB / 0.7905 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.00481, allocations: 0 / 0.7905 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.004812, allocations: 0 / 0.7905 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-06/0.004818, allocations: 4 kB / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.00482, allocations: 0.5 kB / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.004821, allocations: 4.562 kB / 0.7905 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.268e-05/0.004884, allocations: 69.75 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-06/0.004887, allocations: 4 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-06/0.004895, allocations: 0 / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.657e-06/0.004899, allocations: 0 / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.004911, allocations: 0.625 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.004914, allocations: 4 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.932e-05/0.004943, allocations: 125.2 kB / 0.7907 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004943, allocations: 0 / 0.7907 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001292/0.005073, allocations: 11.94 kB / 0.7907 GB, free: 8.559 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.0001385/0.005211, allocations: 119.6 kB / 0.7908 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.765e-05/0.005279, allocations: 12.78 kB / 0.7908 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.00528, allocations: 0 / 0.7908 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.344e-06/0.005288, allocations: 12.59 kB / 0.7908 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.409e-05/0.005382, allocations: 1.891 kB / 0.7908 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.005561, allocations: 88.78 kB / 0.7909 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.00559, allocations: 51.36 kB / 0.791 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.53e-05/0.005605, allocations: 0.9062 kB / 0.791 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.005626, allocations: 16.5 kB / 0.791 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of SimCode: time 4.7e-07/0.005626, allocations: 1 kB / 0.791 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of Templates: time 0.002171/0.007798, allocations: 485.8 kB / 0.7915 GB, free: 7.734 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: 5.061795546673238]