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.001418/0.001418, 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.001577/0.001577, allocations: 161.7 kB / 23.55 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.455/1.455, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 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.953/2.953, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 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.673e-06/1.673e-06, allocations: 0 / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.845e-05, allocations: 6.812 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00172/0.001749, allocations: 0.6029 MB / 0.8115 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007381/0.002487, allocations: 315.8 kB / 0.8118 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.002507, allocations: 0 / 0.8118 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.13e-05/0.002518, allocations: 0 / 0.8118 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.703e-05/0.002545, allocations: 4.594 kB / 0.8118 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004858/0.003031, allocations: 117.1 kB / 0.8119 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.629e-05/0.003077, allocations: 4 kB / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.026e-05/0.003108, allocations: 1.688 kB / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.858e-05/0.003146, allocations: 15.97 kB / 0.8119 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.003207, allocations: 4 kB / 0.8119 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.003221, allocations: 0 / 0.8119 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.003659, allocations: 259.6 kB / 0.8121 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.003673, allocations: 1.531 kB / 0.8121 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.003703, allocations: 7.938 kB / 0.8122 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.003943, allocations: 115.7 kB / 0.8123 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.003947, allocations: 8 kB / 0.8123 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003948, allocations: 5.031 kB / 0.8123 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.003952, allocations: 0 / 0.8123 GB, free: 0.6016 MB / 0.7605 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.0004184/0.00437, allocations: 262.2 kB / 0.8125 GB, free: 320 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.004409, allocations: 9.594 kB / 0.8125 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.356e-05/0.004503, allocations: 8.938 kB / 0.8125 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.004628, allocations: 101.8 kB / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.004641, allocations: 384 / 0.8126 GB, free: 176 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.004672, allocations: 5.094 kB / 0.8126 GB, free: 172 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.0048, allocations: 60.48 kB / 0.8127 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.004809, allocations: 1.781 kB / 0.8127 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.004821, allocations: 4.375 kB / 0.8127 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.004826, allocations: 384 / 0.8127 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.004852, allocations: 7.938 kB / 0.8127 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.005043, allocations: 105.2 kB / 0.8128 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.521e-05/0.005119, allocations: 23.23 kB / 0.8128 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.005143, allocations: 9.531 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006248/0.005768, allocations: 75.33 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.005808, allocations: 34.56 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.005809, allocations: 9.688 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0005847/0.006394, allocations: 169.2 kB / 0.8131 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.006443, allocations: 51.41 kB / 0.8132 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.006544, allocations: 109 kB / 0.8133 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.00657, allocations: 25.7 kB / 0.8133 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.006621, allocations: 80.14 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.006648, allocations: 11.91 kB / 0.8134 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.006691, allocations: 17.72 kB / 0.8134 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.006869, allocations: 314.8 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.006893, allocations: 11.94 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.006929, allocations: 14.91 kB / 0.8137 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.483e-05/0.006984, allocations: 25.72 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.006985, allocations: 0.5938 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001279/0.007113, allocations: 58.33 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.007131, allocations: 8.906 kB / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.007136, allocations: 0 / 0.8138 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.007156, allocations: 5.016 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.007217, allocations: 4 kB / 0.8138 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.007232, allocations: 11.92 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.007251, allocations: 2.375 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.007258, allocations: 0 / 0.8138 GB, free: 14.8 MB / 0.7761 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 9.916e-05/0.007357, allocations: 109.8 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.007385, allocations: 0 / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.007528, allocations: 65.8 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007529, allocations: 0 / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.007533, allocations: 0.8125 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.007539, allocations: 3.938 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.007656, allocations: 114.2 kB / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007657, allocations: 0 / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.007712, allocations: 5.219 kB / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.007715, allocations: 0 / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.00772, allocations: 0 / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007722, allocations: 4 kB / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.007725, allocations: 4.891 kB / 0.8141 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.007911, allocations: 85.02 kB / 0.8142 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.007917, allocations: 2.219 kB / 0.8142 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.00793, allocations: 7.938 kB / 0.8142 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.999e-05/0.00797, allocations: 0 / 0.8142 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.814e-05/0.007989, allocations: 4 kB / 0.8142 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.007996, allocations: 3.984 kB / 0.8142 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.008051, allocations: 84.22 kB / 0.8143 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008051, allocations: 0 / 0.8143 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002222/0.008273, allocations: 19.94 kB / 0.8143 GB, free: 14.23 MB / 0.7761 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.0002303/0.008503, allocations: 132.2 kB / 0.8145 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.945e-05/0.008593, allocations: 17.06 kB / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.008594, allocations: 0 / 0.8145 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.008619, allocations: 15.98 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.008762, allocations: 5.281 kB / 0.8145 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.009047, allocations: 104.7 kB / 0.8146 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.335e-05/0.009111, allocations: 63.97 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.009136, allocations: 1.656 kB / 0.8147 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.009167, allocations: 12.5 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of SimCode: time 3.91e-07/0.009167, allocations: 1.188 kB / 0.8147 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.003885/0.01305, allocations: 0.8928 MB / 0.8155 GB, free: 12.97 MB / 0.7761 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.818716950016096]