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.0009557/0.0009557, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001896/0.001896, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9706/0.9706, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.77/1.77, allocations: 359 MB / 0.6055 GB, free: 10.98 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.473e-06/1.473e-06, allocations: 0 / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.469e-05, allocations: 5.656 kB / 0.7872 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001188/0.001213, allocations: 0.5977 MB / 0.7877 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005177/0.00173, allocations: 296.7 kB / 0.788 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.387e-05/0.001754, allocations: 0 / 0.788 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.001773, allocations: 0 / 0.788 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-06/0.001781, allocations: 5.875 kB / 0.788 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.002343, allocations: 107.6 kB / 0.7881 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.002406, allocations: 8.594 kB / 0.7881 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.002454, allocations: 7.984 kB / 0.7881 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.726e-05/0.002481, allocations: 0.8438 kB / 0.7881 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.818e-05/0.002509, allocations: 0 / 0.7881 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.002525, allocations: 1.188 kB / 0.7881 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.002838, allocations: 251.7 kB / 0.7884 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.002851, allocations: 0 / 0.7884 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.497e-05/0.002866, allocations: 0 / 0.7884 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.003036, allocations: 121.1 kB / 0.7885 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.003039, allocations: 0 / 0.7885 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003039, allocations: 0 / 0.7885 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003044, allocations: 0 / 0.7885 GB, free: 11.35 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.0002802/0.003324, allocations: 361.2 kB / 0.7888 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.003365, allocations: 8.031 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.00345, allocations: 2.5 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.704e-05/0.003527, allocations: 116.6 kB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.003538, allocations: 4.312 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.003547, allocations: 384 / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.253e-05/0.003629, allocations: 34.8 kB / 0.789 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003637, allocations: 192 / 0.789 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.003646, allocations: 1.406 kB / 0.789 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.003654, allocations: 384 / 0.789 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.497e-05/0.003669, allocations: 5.531 kB / 0.789 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.003771, allocations: 108.6 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.659e-05/0.003808, allocations: 23.06 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.003823, allocations: 11.69 kB / 0.7892 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.004123, allocations: 53.83 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.004152, allocations: 43.8 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.004153, allocations: 0 / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001805/0.004334, allocations: 29.7 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.004369, allocations: 51.41 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.677e-05/0.004415, allocations: 142.2 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.004427, allocations: 25.7 kB / 0.7895 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.004461, allocations: 131.5 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.004504, allocations: 0 / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.004534, allocations: 25.02 kB / 0.7896 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.004674, allocations: 0.4883 MB / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.004686, allocations: 0 / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-06/0.004693, allocations: 0 / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.004735, allocations: 16.78 kB / 0.7901 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.004737, allocations: 0 / 0.7901 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.432e-05/0.004802, allocations: 31.42 kB / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.00482, allocations: 8 kB / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.004825, allocations: 0 / 0.7902 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.004844, allocations: 5.734 kB / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.892e-05/0.004893, allocations: 0 / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.0049, allocations: 0 / 0.7902 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.004914, allocations: 11.89 kB / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-06/0.004919, allocations: 0 / 0.7902 GB, free: 9.445 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 7.032e-05/0.004989, allocations: 157.2 kB / 0.7903 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.005001, allocations: 8.797 kB / 0.7903 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.005081, allocations: 50.55 kB / 0.7904 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.005083, allocations: 0 / 0.7904 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.005086, allocations: 0 / 0.7904 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.00509, allocations: 0 / 0.7904 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.392e-05/0.005154, allocations: 108.6 kB / 0.7905 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005155, allocations: 0 / 0.7905 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.324e-06/0.005162, allocations: 6.188 kB / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.005165, allocations: 0 / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.00517, allocations: 0 / 0.7905 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.005172, allocations: 4 kB / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005173, allocations: 0 / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.088e-05/0.005234, allocations: 80.84 kB / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.39e-06/0.005239, allocations: 4.719 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-06/0.005247, allocations: 0 / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.386e-06/0.005251, allocations: 0.5312 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.005263, allocations: 0 / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.005265, allocations: 1.625 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.005293, allocations: 119.2 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.005293, allocations: 0 / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001387/0.005432, allocations: 19.92 kB / 0.7907 GB, free: 8.828 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.0001306/0.005563, allocations: 113 kB / 0.7908 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.005629, allocations: 11.69 kB / 0.7908 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.005631, allocations: 0 / 0.7908 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-06/0.00564, allocations: 16.53 kB / 0.7909 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.154e-05/0.005731, allocations: 3.984 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.0059, allocations: 84.8 kB / 0.7909 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.818e-05/0.005928, allocations: 51.36 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.348e-05/0.005942, allocations: 1.281 kB / 0.791 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.005955, allocations: 8.5 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.005956, allocations: 0.5625 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.002083/0.008038, allocations: 495.8 kB / 0.7915 GB, free: 8.012 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.011469203047454]