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.00187/0.00187, allocations: 88.72 kB / 19.44 MB, free: 356 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.00251/0.00251, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.228/3.228, allocations: 429.6 MB / 0.673 GB, free: 3.895 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.383e-06/1.383e-06, allocations: 0 / 0.8776 GB, free: 5.289 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.649e-05, allocations: 2.312 kB / 0.8776 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001631/0.001658, allocations: 0.601 MB / 0.8782 GB, free: 4.707 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.002361, allocations: 312.7 kB / 0.8785 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.062e-05/0.002381, allocations: 4 kB / 0.8785 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.184e-05/0.002393, allocations: 1.75 kB / 0.8785 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.495e-05/0.002418, allocations: 3.938 kB / 0.8785 GB, free: 4.398 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.002883, allocations: 114.9 kB / 0.8787 GB, free: 4.289 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.813e-05/0.002931, allocations: 13.09 kB / 0.8787 GB, free: 4.277 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.107e-05/0.002962, allocations: 3.938 kB / 0.8787 GB, free: 4.273 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.421e-05/0.002996, allocations: 11.97 kB / 0.8787 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.128e-05/0.003047, allocations: 3.625 kB / 0.8787 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.003062, allocations: 0 / 0.8787 GB, free: 4.262 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.003497, allocations: 259.6 kB / 0.8789 GB, free: 4.008 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.006e-05/0.003517, allocations: 7.984 kB / 0.8789 GB, free: 4 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.063e-05/0.003537, allocations: 0 / 0.8789 GB, free: 4 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.003769, allocations: 123.6 kB / 0.8791 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003771, allocations: 0 / 0.8791 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003772, allocations: 0 / 0.8791 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003776, allocations: 0 / 0.8791 GB, free: 3.879 MB / 0.7917 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.0003967/0.004173, allocations: 266.2 kB / 0.8793 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.004217, allocations: 16.92 kB / 0.8793 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.067e-05/0.004308, allocations: 4.891 kB / 0.8793 GB, free: 3.566 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.004423, allocations: 106.9 kB / 0.8794 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.004434, allocations: 384 / 0.8794 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.004458, allocations: 384 / 0.8794 GB, free: 3.438 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.004573, allocations: 64.88 kB / 0.8795 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.004582, allocations: 192 / 0.8795 GB, free: 3.363 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.004593, allocations: 5.172 kB / 0.8795 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.004598, allocations: 384 / 0.8795 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.646e-05/0.004624, allocations: 15.47 kB / 0.8795 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001623/0.004787, allocations: 97.33 kB / 0.8796 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 5.351e-05/0.00484, allocations: 22.61 kB / 0.8796 GB, free: 3.191 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.004864, allocations: 8.844 kB / 0.8796 GB, free: 3.18 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006147/0.005478, allocations: 77.2 kB / 0.8797 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.005516, allocations: 31.28 kB / 0.8797 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.005517, allocations: 0 / 0.8797 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.0005343/0.006051, allocations: 182.1 kB / 0.8799 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.006093, allocations: 52.94 kB / 0.88 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.006184, allocations: 101.8 kB / 0.8801 GB, free: 2.684 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.006214, allocations: 25.7 kB / 0.8801 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.006266, allocations: 84.48 kB / 0.8802 GB, free: 2.566 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.006286, allocations: 7.953 kB / 0.8802 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.006323, allocations: 21.66 kB / 0.8802 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002509/0.006574, allocations: 314.8 kB / 0.8805 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.375e-05/0.006598, allocations: 7.984 kB / 0.8805 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.006628, allocations: 17.72 kB / 0.8805 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.369e-05/0.006682, allocations: 21.72 kB / 0.8805 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.006683, allocations: 0 / 0.8805 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000118/0.006801, allocations: 61.58 kB / 0.8806 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.006813, allocations: 8.062 kB / 0.8806 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.006817, allocations: 0 / 0.8806 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.006837, allocations: 4 kB / 0.8806 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.006891, allocations: 7.938 kB / 0.8806 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.006898, allocations: 3.938 kB / 0.8806 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.00692, allocations: 3.984 kB / 0.8806 GB, free: 2.062 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.006926, allocations: 4 kB / 0.8806 GB, free: 2.059 MB / 0.7917 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.826e-05/0.007014, allocations: 109.8 kB / 0.8807 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.007043, allocations: 7.938 kB / 0.8807 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.007195, allocations: 57.31 kB / 0.8808 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007197, allocations: 0 / 0.8808 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.0072, allocations: 0 / 0.8808 GB, free: 1.867 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.007207, allocations: 7.938 kB / 0.8808 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.007312, allocations: 105.3 kB / 0.8809 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.007317, allocations: 8 kB / 0.8809 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.459e-05/0.007372, allocations: 4 kB / 0.8809 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.007374, allocations: 192 / 0.8809 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.00738, allocations: 0 / 0.8809 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.007381, allocations: 0 / 0.8809 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.007382, allocations: 4 kB / 0.8809 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.007554, allocations: 92.97 kB / 0.881 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.007559, allocations: 0 / 0.881 GB, free: 1.602 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.007573, allocations: 4.031 kB / 0.881 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.007613, allocations: 0 / 0.881 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.007626, allocations: 0 / 0.881 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.007634, allocations: 4 kB / 0.881 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.007686, allocations: 87.2 kB / 0.8811 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.007686, allocations: 0 / 0.8811 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002375/0.007923, allocations: 23.94 kB / 0.8811 GB, free: 1.484 MB / 0.7917 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.0002227/0.008146, allocations: 127.3 kB / 0.8812 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 8.677e-05/0.008233, allocations: 19.94 kB / 0.8813 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.008234, allocations: 0 / 0.8813 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.008257, allocations: 7.984 kB / 0.8813 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.008404, allocations: 4 kB / 0.8813 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.008664, allocations: 108.8 kB / 0.8814 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.008726, allocations: 67.28 kB / 0.8814 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.008762, allocations: 12.11 kB / 0.8815 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.008788, allocations: 8.5 kB / 0.8815 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of SimCode: time 6.11e-07/0.008788, allocations: 0 / 0.8815 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of Templates: time 0.003622/0.01241, allocations: 0.9002 MB / 0.8823 GB, free: 200 kB / 0.7917 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 800] 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.115310579072684]