Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.002375/0.002375, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002806/0.002806, allocations: 157.3 kB / 23.55 MB, free: 0.8828 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.538/1.538, 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.88/2.88, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|regNonZeroPower.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.648e-05, allocations: 3.188 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002699/0.002725, allocations: 1.467 MB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007836/0.003509, allocations: 364 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.003538, allocations: 0.9062 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.003562, allocations: 0 / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.072e-05/0.003623, allocations: 8.844 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.004047, allocations: 120.7 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.004107, allocations: 19.92 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.294e-05/0.00418, allocations: 8.562 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.004237, allocations: 12.67 kB / 0.7883 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.004276, allocations: 11.92 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.004293, allocations: 4.906 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.004726, allocations: 259.6 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.004738, allocations: 0.6562 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.004763, allocations: 11.98 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.005014, allocations: 136.2 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.005019, allocations: 4 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.00502, allocations: 1.656 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.005024, allocations: 0 / 0.7887 GB, free: 10.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000545/0.005569, allocations: 388 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.005607, allocations: 12.03 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.591e-05/0.005683, allocations: 2.281 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.005808, allocations: 116.6 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.005821, allocations: 384 / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.005832, allocations: 4.375 kB / 0.7892 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.005981, allocations: 47.83 kB / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.005989, allocations: 192 / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.005997, allocations: 384 / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.006, allocations: 384 / 0.7893 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.006121, allocations: 35.39 kB / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.006465, allocations: 251.8 kB / 0.7896 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.006591, allocations: 43.05 kB / 0.7896 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.193e-05/0.006653, allocations: 15.75 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005189/0.007172, allocations: 77.73 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.007209, allocations: 38.58 kB / 0.7897 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.00721, allocations: 3.938 kB / 0.7897 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0003146/0.007524, allocations: 78.08 kB / 0.7898 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.007568, allocations: 52.62 kB / 0.7898 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.007696, allocations: 165.9 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.007716, allocations: 25.7 kB / 0.79 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.007801, allocations: 139.9 kB / 0.7902 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.007813, allocations: 0 / 0.7902 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.77e-05/0.007861, allocations: 27.36 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002501/0.008111, allocations: 493.1 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.008169, allocations: 12 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.89e-05/0.008218, allocations: 12.89 kB / 0.7907 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.008319, allocations: 32.64 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008321, allocations: 0 / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001762/0.008497, allocations: 63.86 kB / 0.7908 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.008513, allocations: 8 kB / 0.7908 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.008519, allocations: 3.938 kB / 0.7908 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.008533, allocations: 3.984 kB / 0.7908 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.157e-05/0.008594, allocations: 4 kB / 0.7908 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.008598, allocations: 2.812 kB / 0.7908 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.008629, allocations: 4 kB / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.008634, allocations: 0 / 0.7908 GB, free: 8.074 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 (2): * Single equations (assignments): 2 * 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.0003197/0.008954, allocations: 152.6 kB / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.008992, allocations: 7.984 kB / 0.791 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.009178, allocations: 74.73 kB / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00918, allocations: 0 / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.009186, allocations: 3.984 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.009188, allocations: 0 / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.009355, allocations: 120.6 kB / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.009356, allocations: 0.625 kB / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.009401, allocations: 8.547 kB / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.009403, allocations: 0.5625 kB / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.00941, allocations: 0 / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.009414, allocations: 4.594 kB / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.009415, allocations: 0 / 0.7912 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.009672, allocations: 213.1 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-06/0.009681, allocations: 3.938 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.009692, allocations: 0.7812 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.009752, allocations: 12.12 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.009785, allocations: 1.812 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.009793, allocations: 8 kB / 0.7914 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.985e-05/0.009873, allocations: 131.2 kB / 0.7915 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009873, allocations: 0 / 0.7915 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002178/0.01009, allocations: 12 kB / 0.7915 GB, free: 7.273 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 (2): * Single equations (assignments): 2 * 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.0001967/0.01029, allocations: 116.9 kB / 0.7916 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.01045, allocations: 31.67 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01045, allocations: 5.125 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.01052, allocations: 19.62 kB / 0.7917 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.01075, allocations: 20.14 kB / 0.7917 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.01104, allocations: 123.4 kB / 0.7918 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.01111, allocations: 63.34 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.01113, allocations: 3.844 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.01115, allocations: 8.5 kB / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.01115, allocations: 0 / 0.7919 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of Templates: time 0.003548/0.0147, allocations: 0.7568 MB / 0.7926 GB, free: 6.098 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.8640725129516795]