Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002365/0.002365, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 443.5 MB / 0.7322 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002993/0.002993, allocations: 75.86 kB / 1.062 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8936/0.8966, allocations: 160.8 MB / 1.218 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00219/0.8988, allocations: 0.6055 MB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000913/0.8997, allocations: 346.8 kB / 1.219 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.383e-05/0.8998, allocations: 1.375 kB / 1.219 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.8998, allocations: 0 / 1.219 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.017e-05/0.8998, allocations: 7.875 kB / 1.219 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.9005, allocations: 116.3 kB / 1.22 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.97e-05/0.9005, allocations: 9.641 kB / 1.22 GB, free: 2.816 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.506e-05/0.9006, allocations: 5.531 kB / 1.22 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/0.9006, allocations: 1.531 kB / 1.22 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.9007, allocations: 10.66 kB / 1.22 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.9007, allocations: 0 / 1.22 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.9012, allocations: 279.8 kB / 1.22 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.9012, allocations: 0 / 1.22 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.9013, allocations: 6.234 kB / 1.22 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.9015, allocations: 95.44 kB / 1.22 GB, free: 2.586 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9015, allocations: 3.938 kB / 1.22 GB, free: 2.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9015, allocations: 1.281 kB / 1.22 GB, free: 2.582 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.9015, allocations: 4 kB / 1.22 GB, free: 2.578 MB / 0.92 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.0004949/0.902, allocations: 347.1 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.9021, allocations: 9.219 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.9021, allocations: 2.25 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.9023, allocations: 165.8 kB / 1.22 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.9023, allocations: 384 / 1.22 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.9024, allocations: 2.188 kB / 1.22 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.9025, allocations: 33.84 kB / 1.22 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.9025, allocations: 9.406 kB / 1.22 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.9025, allocations: 3.938 kB / 1.22 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.9025, allocations: 0 / 1.22 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.9025, allocations: 2.438 kB / 1.22 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.9027, allocations: 157.6 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.9028, allocations: 26.25 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.029e-05/0.9028, allocations: 7.141 kB / 1.221 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008628/0.9037, allocations: 459.8 kB / 1.221 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.9037, allocations: 31.97 kB / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.9037, allocations: 0 / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0006528/0.9044, allocations: 259.9 kB / 1.221 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.9044, allocations: 51.41 kB / 1.221 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.9045, allocations: 97.17 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.9045, allocations: 29.7 kB / 1.222 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.9046, allocations: 81.39 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.9046, allocations: 21.28 kB / 1.222 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.9047, allocations: 21.25 kB / 1.222 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.9048, allocations: 311.9 kB / 1.222 GB, free: 272 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.9049, allocations: 7.312 kB / 1.222 GB, free: 268 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.9049, allocations: 22.64 kB / 1.222 GB, free: 244 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.9049, allocations: 27.38 kB / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.905, allocations: 0 / 1.222 GB, free: 220 kB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001207/0.9051, allocations: 58.69 kB / 1.222 GB, free: 172 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.9051, allocations: 8.531 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.9051, allocations: 1.125 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.9051, allocations: 1.125 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.9052, allocations: 5.156 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.9052, allocations: 1.094 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.9052, allocations: 1.125 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.9052, allocations: 1.094 kB / 1.222 GB, free: 168 kB / 0.92 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.0001044/0.9053, allocations: 127.6 kB / 1.222 GB, free: 36 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.9054, allocations: 5.938 kB / 1.222 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.9055, allocations: 53.06 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.9055, allocations: 1.094 kB / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.9055, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.9055, allocations: 0 / 1.222 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.9057, allocations: 154 kB / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.9057, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.9057, allocations: 4.75 kB / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.9057, allocations: 9 kB / 1.222 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.9057, allocations: 5.016 kB / 1.222 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.9057, allocations: 0 / 1.222 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9057, allocations: 0 / 1.222 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.9059, allocations: 78.94 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.906, allocations: 82.09 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.906, allocations: 3.938 kB / 1.223 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.9061, allocations: 5.219 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.9061, allocations: 10.02 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.9061, allocations: 9.031 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.9062, allocations: 77.53 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9062, allocations: 0 / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002429/0.9064, allocations: 22.28 kB / 1.223 GB, free: 15.5 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.0002457/0.9066, allocations: 123.8 kB / 1.223 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.9068, allocations: 27.03 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9068, allocations: 1.188 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.9068, allocations: 4.75 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.9069, allocations: 10.25 kB / 1.223 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.9072, allocations: 113.6 kB / 1.223 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.9076, allocations: 0.6782 MB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.9076, allocations: 2.281 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.9077, allocations: 13.66 kB / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.9077, allocations: 0 / 1.224 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of Templates: time 0.00419/0.9118, allocations: 0.8869 MB / 1.225 GB, free: 14.1 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.721671036444604]