Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002231/0.002231, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002835/0.002835, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.591/1.591, allocations: 177.1 MB / 203.1 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.398/3.398, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.844e-05, allocations: 3.938 kB / 0.8775 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001678/0.001706, allocations: 0.603 MB / 0.8781 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.002472, allocations: 319.8 kB / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.002496, allocations: 4 kB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.002508, allocations: 0 / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.34e-05/0.002531, allocations: 2.312 kB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.003, allocations: 111.5 kB / 0.8785 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.273e-05/0.003053, allocations: 19.92 kB / 0.8785 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.361e-05/0.003087, allocations: 6.203 kB / 0.8785 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.14e-05/0.003118, allocations: 4 kB / 0.8785 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.177e-05/0.00317, allocations: 3.984 kB / 0.8786 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.003185, allocations: 0 / 0.8786 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.003616, allocations: 255.7 kB / 0.8788 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.003629, allocations: 0 / 0.8788 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.003646, allocations: 8.703 kB / 0.8788 GB, free: 5.32 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.003889, allocations: 123.6 kB / 0.8789 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003892, allocations: 1.656 kB / 0.8789 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003892, allocations: 0 / 0.8789 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003896, allocations: 0 / 0.8789 GB, free: 5.199 MB / 0.8386 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.0004356/0.004331, allocations: 368.1 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.004369, allocations: 12.03 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.004445, allocations: 1.438 kB / 0.8793 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.004559, allocations: 117.8 kB / 0.8794 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.004572, allocations: 4.375 kB / 0.8794 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.004596, allocations: 8.359 kB / 0.8794 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.004719, allocations: 61.56 kB / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.004726, allocations: 192 / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.004734, allocations: 384 / 0.8795 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.004741, allocations: 4.359 kB / 0.8795 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.004762, allocations: 7.938 kB / 0.8795 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.00493, allocations: 116.6 kB / 0.8796 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.834e-05/0.004998, allocations: 35.03 kB / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.00502, allocations: 11.69 kB / 0.8796 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005634/0.005583, allocations: 87.98 kB / 0.8797 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.00563, allocations: 33.39 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.005631, allocations: 0 / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0005353/0.006166, allocations: 185.7 kB / 0.8799 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.006211, allocations: 55.39 kB / 0.88 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.006336, allocations: 157.9 kB / 0.8801 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.006363, allocations: 25.7 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.006437, allocations: 131.2 kB / 0.8803 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.006464, allocations: 15.94 kB / 0.8803 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.006508, allocations: 23.38 kB / 0.8803 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002567/0.006765, allocations: 496.1 kB / 0.8808 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.006785, allocations: 4 kB / 0.8808 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.006823, allocations: 27.31 kB / 0.8808 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.539e-05/0.006888, allocations: 39.3 kB / 0.8809 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006889, allocations: 0 / 0.8809 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001123/0.007001, allocations: 53.59 kB / 0.8809 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.007016, allocations: 12.06 kB / 0.8809 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00702, allocations: 0 / 0.8809 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.007032, allocations: 0 / 0.8809 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.007096, allocations: 11.98 kB / 0.8809 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.007104, allocations: 3.938 kB / 0.8809 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.815e-05/0.007122, allocations: 0 / 0.8809 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.00713, allocations: 4 kB / 0.8809 GB, free: 2.875 MB / 0.8386 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 0.0001191/0.00725, allocations: 156.6 kB / 0.8811 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.007283, allocations: 4 kB / 0.8811 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.007428, allocations: 61.3 kB / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007429, allocations: 0 / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.007432, allocations: 0 / 0.8812 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.007438, allocations: 3.938 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.007569, allocations: 112.6 kB / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.00757, allocations: 0 / 0.8813 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.00762, allocations: 4 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.007628, allocations: 7.984 kB / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.007634, allocations: 0 / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.007635, allocations: 0 / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007636, allocations: 0 / 0.8813 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.007809, allocations: 96.38 kB / 0.8814 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.423e-06/0.007816, allocations: 3.953 kB / 0.8814 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.007829, allocations: 7.938 kB / 0.8814 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.007864, allocations: 4.234 kB / 0.8814 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.007884, allocations: 3.984 kB / 0.8814 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.007888, allocations: 0 / 0.8814 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.502e-05/0.007963, allocations: 131.1 kB / 0.8815 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007963, allocations: 0 / 0.8815 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002131/0.008176, allocations: 23.94 kB / 0.8815 GB, free: 2.188 MB / 0.8386 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.0002206/0.008397, allocations: 131.3 kB / 0.8817 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.008502, allocations: 27.61 kB / 0.8817 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.008508, allocations: 4 kB / 0.8817 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.697e-05/0.008535, allocations: 15.62 kB / 0.8817 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.008673, allocations: 8 kB / 0.8817 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.008946, allocations: 110.3 kB / 0.8818 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.904e-05/0.009005, allocations: 63.34 kB / 0.8819 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.009038, allocations: 12.06 kB / 0.8819 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.163e-05/0.00906, allocations: 8.5 kB / 0.8819 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.00906, allocations: 0 / 0.8819 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.004038/0.0131, allocations: 0.9064 MB / 0.8828 GB, free: 0.8594 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.509509808034636]