Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.254/1.254, allocations: 255.9 MB / 271.2 MB, free: 8.883 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008621/0.0008622, allocations: 187.5 kB / 330.8 MB, free: 456 kB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 225.7 MB / 0.6016 GB, free: 1.633 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007209/0.000721, allocations: 99.58 kB / 0.709 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002726, allocations: 15.98 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 109.2 MB / 0.9328 GB, free: 6.23 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0005275/0.1486, allocations: 322.1 kB / 0.9331 GB, free: 5.918 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0005356/0.1492, allocations: 0.5844 MB / 0.9336 GB, free: 5.277 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.149e-05/0.1492, allocations: 0 / 0.9336 GB, free: 5.277 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 9.197e-06/0.1492, allocations: 0 / 0.9336 GB, free: 5.277 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 1.83e-05/0.1493, allocations: 0 / 0.9336 GB, free: 5.277 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.1496, allocations: 83.84 kB / 0.9337 GB, free: 5.195 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 3.567e-05/0.1496, allocations: 7.984 kB / 0.9337 GB, free: 5.188 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.246e-05/0.1496, allocations: 0 / 0.9337 GB, free: 5.188 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.288e-05/0.1497, allocations: 7.938 kB / 0.9337 GB, free: 5.18 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.1497, allocations: 8 kB / 0.9337 GB, free: 5.172 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.1497, allocations: 0 / 0.9337 GB, free: 5.172 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.15, allocations: 259.7 kB / 0.934 GB, free: 4.918 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.15, allocations: 3.984 kB / 0.934 GB, free: 4.914 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.15, allocations: 41.62 kB / 0.934 GB, free: 4.867 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.1502, allocations: 87.86 kB / 0.9341 GB, free: 4.781 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1502, allocations: 3.938 kB / 0.9341 GB, free: 4.777 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1502, allocations: 0 / 0.9341 GB, free: 4.777 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.1502, allocations: 0 / 0.9341 GB, free: 4.777 MB / 0.573 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.0002105/0.1504, allocations: 331.6 kB / 0.9344 GB, free: 4.402 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.1504, allocations: 15.98 kB / 0.9345 GB, free: 4.387 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.1505, allocations: 0.9375 kB / 0.9345 GB, free: 4.387 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.844e-05/0.1506, allocations: 160.4 kB / 0.9346 GB, free: 4.191 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1506, allocations: 12.36 kB / 0.9346 GB, free: 4.18 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1506, allocations: 384 / 0.9346 GB, free: 4.18 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.524e-05/0.1507, allocations: 34.27 kB / 0.9347 GB, free: 4.141 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.78e-06/0.1507, allocations: 192 / 0.9347 GB, free: 4.141 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.1507, allocations: 3.938 kB / 0.9347 GB, free: 4.137 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1507, allocations: 0 / 0.9347 GB, free: 4.137 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.621e-05/0.1507, allocations: 4 kB / 0.9347 GB, free: 4.133 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.134e-05/0.1508, allocations: 157.6 kB / 0.9348 GB, free: 3.93 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.346e-05/0.1509, allocations: 26.52 kB / 0.9348 GB, free: 3.895 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.258e-05/0.1509, allocations: 8.844 kB / 0.9348 GB, free: 3.883 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/0.1514, allocations: 465.5 kB / 0.9353 GB, free: 3.336 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.1514, allocations: 30.56 kB / 0.9353 GB, free: 3.297 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1514, allocations: 0 / 0.9353 GB, free: 3.297 MB / 0.573 GB Notification: Performance of matching and sorting (n=3): time 0.0003596/0.1518, allocations: 262.5 kB / 0.9356 GB, free: 2.988 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.393e-05/0.1518, allocations: 51.41 kB / 0.9356 GB, free: 2.926 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.298e-05/0.1519, allocations: 102.1 kB / 0.9357 GB, free: 2.816 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.1519, allocations: 25.7 kB / 0.9357 GB, free: 2.785 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.133e-05/0.1519, allocations: 84.12 kB / 0.9358 GB, free: 2.699 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.1519, allocations: 15.81 kB / 0.9358 GB, free: 2.684 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.1519, allocations: 0 / 0.9358 GB, free: 2.684 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.285e-05/0.152, allocations: 314.8 kB / 0.9361 GB, free: 2.367 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.152, allocations: 7.938 kB / 0.9361 GB, free: 2.359 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.152, allocations: 21.7 kB / 0.9362 GB, free: 2.332 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.152, allocations: 25.84 kB / 0.9362 GB, free: 2.301 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.152, allocations: 4 kB / 0.9362 GB, free: 2.297 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.039e-05/0.1521, allocations: 53.62 kB / 0.9362 GB, free: 2.238 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.1521, allocations: 11.84 kB / 0.9363 GB, free: 2.227 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1521, allocations: 0 / 0.9363 GB, free: 2.227 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.1522, allocations: 0 / 0.9363 GB, free: 2.227 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.1522, allocations: 8 kB / 0.9363 GB, free: 2.219 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1522, allocations: 64 / 0.9363 GB, free: 2.219 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.71e-05/0.1522, allocations: 12 kB / 0.9363 GB, free: 2.207 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.1523, allocations: 4 kB / 0.9363 GB, free: 2.203 MB / 0.573 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 3.72e-05/0.1523, allocations: 110.5 kB / 0.9364 GB, free: 2.086 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.1523, allocations: 3.938 kB / 0.9364 GB, free: 2.082 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.638e-05/0.1524, allocations: 57.12 kB / 0.9364 GB, free: 2.012 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1524, allocations: 4 kB / 0.9364 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.444e-06/0.1524, allocations: 4 kB / 0.9364 GB, free: 2.004 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1524, allocations: 0 / 0.9364 GB, free: 2.004 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.244e-05/0.1525, allocations: 149.7 kB / 0.9366 GB, free: 1.809 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1525, allocations: 0 / 0.9366 GB, free: 1.809 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.1526, allocations: 4 kB / 0.9366 GB, free: 1.805 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1526, allocations: 11.86 kB / 0.9366 GB, free: 1.793 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1526, allocations: 0 / 0.9366 GB, free: 1.793 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1526, allocations: 0 / 0.9366 GB, free: 1.793 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1526, allocations: 4 kB / 0.9366 GB, free: 1.789 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.699e-05/0.1527, allocations: 81.06 kB / 0.9367 GB, free: 1.691 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.234e-05/0.1527, allocations: 81.02 kB / 0.9368 GB, free: 1.594 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.039e-05/0.1527, allocations: 3.938 kB / 0.9368 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.1528, allocations: 8.031 kB / 0.9368 GB, free: 1.582 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.1528, allocations: 3.984 kB / 0.9368 GB, free: 1.578 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.1528, allocations: 0 / 0.9368 GB, free: 1.578 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.438e-05/0.1528, allocations: 79.28 kB / 0.9369 GB, free: 1.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1528, allocations: 0 / 0.9369 GB, free: 1.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0001879/0.153, allocations: 20 kB / 0.9369 GB, free: 1.48 MB / 0.573 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.0001385/0.1531, allocations: 139.9 kB / 0.937 GB, free: 1.336 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 5.903e-05/0.1532, allocations: 19.92 kB / 0.937 GB, free: 1.316 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1532, allocations: 3.938 kB / 0.937 GB, free: 1.312 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.247e-05/0.1532, allocations: 4 kB / 0.937 GB, free: 1.309 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.1534, allocations: 11.38 kB / 0.937 GB, free: 1.301 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001574/0.1535, allocations: 113.9 kB / 0.9372 GB, free: 1.164 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.1536, allocations: 0.6772 MB / 0.9378 GB, free: 472 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.69e-05/0.1536, allocations: 4.312 kB / 0.9378 GB, free: 468 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.1537, allocations: 11.44 kB / 0.9378 GB, free: 456 kB / 0.573 GB Notification: Performance of SimCode: time 2.11e-07/0.1537, allocations: 3.938 kB / 0.9378 GB, free: 452 kB / 0.573 GB Notification: Performance of Templates: time 0.002271/0.1559, allocations: 0.8522 MB / 0.9387 GB, free: 15.59 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)