Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001615/0.001615, allocations: 80.2 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001866/0.001866, allocations: 174.2 kB / 22.46 MB, free: 5.355 MB / 14.72 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.454/1.454, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.89/2.89, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.639e-05/3.817e-05, allocations: 10.22 kB / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001625/0.001663, allocations: 0.5991 MB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007386/0.002402, allocations: 310.8 kB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.002426, allocations: 0 / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.002441, allocations: 0 / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 1.678e-05/0.002458, allocations: 3.938 kB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.002959, allocations: 119.5 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.003022, allocations: 15.98 kB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.00307, allocations: 4 kB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.003101, allocations: 0 / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.003167, allocations: 11.92 kB / 0.9825 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.003184, allocations: 0 / 0.9825 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.003615, allocations: 259.6 kB / 0.9828 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.003627, allocations: 3.938 kB / 0.9828 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.003646, allocations: 4 kB / 0.9828 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.003882, allocations: 123.7 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003885, allocations: 4 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003885, allocations: 0 / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.003889, allocations: 0 / 0.9829 GB, free: 10.46 MB / 0.9356 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.0003837/0.004273, allocations: 266.2 kB / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.004313, allocations: 8.031 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.004368, allocations: 4.938 kB / 0.9832 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.004484, allocations: 105.7 kB / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.004495, allocations: 384 / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.004524, allocations: 8.359 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.004653, allocations: 63.95 kB / 0.9833 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.004661, allocations: 4.188 kB / 0.9833 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.00467, allocations: 4.312 kB / 0.9833 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.004674, allocations: 384 / 0.9833 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.762e-05/0.004702, allocations: 7.938 kB / 0.9833 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.004855, allocations: 105.3 kB / 0.9834 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.625e-05/0.004911, allocations: 22.55 kB / 0.9835 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.173e-05/0.004933, allocations: 8.859 kB / 0.9835 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.005532, allocations: 83.97 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.005563, allocations: 30.56 kB / 0.9836 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.005565, allocations: 0 / 0.9836 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005213/0.006086, allocations: 177.2 kB / 0.9838 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.006124, allocations: 55.56 kB / 0.9838 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.006201, allocations: 101.8 kB / 0.9839 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.006219, allocations: 25.7 kB / 0.9839 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.058e-05/0.00627, allocations: 80.14 kB / 0.984 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.006295, allocations: 15.89 kB / 0.984 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.006327, allocations: 13.72 kB / 0.984 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.006481, allocations: 318.8 kB / 0.9843 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.0065, allocations: 4 kB / 0.9843 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.211e-05/0.006532, allocations: 21.7 kB / 0.9844 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.006598, allocations: 25.84 kB / 0.9844 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.006601, allocations: 4 kB / 0.9844 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001103/0.006711, allocations: 53.62 kB / 0.9844 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.006724, allocations: 4 kB / 0.9844 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.006728, allocations: 0 / 0.9844 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.00674, allocations: 3.938 kB / 0.9844 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.0068, allocations: 8 kB / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.006811, allocations: 3.938 kB / 0.9845 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.006831, allocations: 0 / 0.9845 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.00684, allocations: 4 kB / 0.9845 GB, free: 8.633 MB / 0.9356 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 8.253e-05/0.006922, allocations: 117.8 kB / 0.9846 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.006949, allocations: 4 kB / 0.9846 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.007106, allocations: 53.36 kB / 0.9846 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.007107, allocations: 0 / 0.9846 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.007111, allocations: 0 / 0.9846 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.007116, allocations: 3.938 kB / 0.9846 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.667e-05/0.007213, allocations: 101.3 kB / 0.9847 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.007216, allocations: 3.984 kB / 0.9847 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.007269, allocations: 8 kB / 0.9847 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00727, allocations: 3.938 kB / 0.9847 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.007279, allocations: 4 kB / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.00728, allocations: 0 / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.007281, allocations: 0 / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.00744, allocations: 85.19 kB / 0.9848 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.046e-05/0.00745, allocations: 8.016 kB / 0.9848 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.007463, allocations: 3.984 kB / 0.9848 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.007505, allocations: 0 / 0.9848 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.007526, allocations: 4 kB / 0.9848 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.007531, allocations: 0 / 0.9848 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.00757, allocations: 83.28 kB / 0.9849 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.00757, allocations: 0 / 0.9849 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002286/0.007799, allocations: 31.92 kB / 0.985 GB, free: 8.062 MB / 0.9356 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.0002236/0.008022, allocations: 123.2 kB / 0.9851 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.572e-05/0.008108, allocations: 23.92 kB / 0.9851 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.00811, allocations: 0 / 0.9851 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.008131, allocations: 8 kB / 0.9851 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.008272, allocations: 2.578 kB / 0.9851 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.008533, allocations: 110.8 kB / 0.9852 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.985e-05/0.008593, allocations: 63.2 kB / 0.9853 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.008627, allocations: 7.938 kB / 0.9853 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.008649, allocations: 12.5 kB / 0.9853 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of SimCode: time 4.2e-07/0.008649, allocations: 0 / 0.9853 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of Templates: time 0.003685/0.01233, allocations: 0.8913 MB / 0.9862 GB, free: 6.789 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.915750611573458]