Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.748/1.748, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.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.0009129/0.0009131, allocations: 167.5 kB / 393.1 MB, free: 4.09 MB / 314.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.36/1.36, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00077/0.0007701, allocations: 98.64 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003225/0.0003225, allocations: 16.5 kB / 0.9224 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5728/0.5732, allocations: 121.3 MB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001531/0.5748, allocations: 1.159 MB / 1.042 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007064/0.5755, allocations: 0.6211 MB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.5755, allocations: 1.312 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.5756, allocations: 2.062 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.074e-05/0.5756, allocations: 5.719 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.576, allocations: 77.59 kB / 1.043 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.576, allocations: 28.06 kB / 1.043 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.282e-05/0.5761, allocations: 8.016 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.971e-05/0.5762, allocations: 6.844 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.139e-05/0.5762, allocations: 11.08 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.5762, allocations: 1.469 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.5766, allocations: 268.2 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.5766, allocations: 2.156 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.5766, allocations: 36.94 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.5768, allocations: 107.1 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5768, allocations: 3.281 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5768, allocations: 0 / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.5769, allocations: 0 / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003689/0.5772, allocations: 367.1 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.5773, allocations: 9.438 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.5773, allocations: 5.484 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.5774, allocations: 177.6 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.5774, allocations: 384 / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.5775, allocations: 4.156 kB / 1.044 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.5776, allocations: 56.08 kB / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.5776, allocations: 192 / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5777, allocations: 6.531 kB / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5777, allocations: 0 / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.5778, allocations: 44.91 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002577/0.5781, allocations: 252.8 kB / 1.044 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.5782, allocations: 47.39 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.5783, allocations: 31.88 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005266/0.5789, allocations: 459.9 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.5789, allocations: 35.14 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.5789, allocations: 0 / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.5793, allocations: 103.4 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.5793, allocations: 51.94 kB / 1.045 GB, free: 55.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.307e-05/0.5793, allocations: 109.3 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-06/0.5794, allocations: 25.7 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.5794, allocations: 92.09 kB / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.5794, allocations: 0 / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-06/0.5794, allocations: 0 / 1.045 GB, free: 55.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.5795, allocations: 316.9 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.948e-05/0.5796, allocations: 24.62 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.5796, allocations: 22.62 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.5798, allocations: 49.92 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5798, allocations: 192 / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.58, allocations: 89.81 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.58, allocations: 9.812 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.58, allocations: 1.359 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.58, allocations: 0 / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.314e-05/0.5801, allocations: 20.34 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.5801, allocations: 0 / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.5802, allocations: 8.641 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.5802, allocations: 1.625 kB / 1.045 GB, free: 54.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 4.86e-05/0.5802, allocations: 115.3 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.5803, allocations: 2.562 kB / 1.046 GB, free: 54.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.5805, allocations: 88.58 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5805, allocations: 5.812 kB / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5805, allocations: 256 / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5805, allocations: 0 / 1.046 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.5807, allocations: 161.6 kB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5807, allocations: 2.797 kB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/0.5808, allocations: 17.39 kB / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.5808, allocations: 0 / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.5808, allocations: 0 / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5808, allocations: 0 / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5808, allocations: 0 / 1.046 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.581, allocations: 181.3 kB / 1.046 GB, free: 54.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.581, allocations: 78.28 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.5811, allocations: 1.188 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.5811, allocations: 11.03 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.5812, allocations: 1.078 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.5812, allocations: 2.719 kB / 1.046 GB, free: 54.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.691e-05/0.5812, allocations: 92.28 kB / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5812, allocations: 0 / 1.046 GB, free: 54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002135/0.5814, allocations: 13.03 kB / 1.046 GB, free: 54 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.000157/0.5816, allocations: 121.2 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002087/0.5818, allocations: 52.7 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5818, allocations: 3.938 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.5819, allocations: 23.86 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.5822, allocations: 8.031 kB / 1.046 GB, free: 53.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.5825, allocations: 129.4 kB / 1.047 GB, free: 53.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.5826, allocations: 0.6775 MB / 1.047 GB, free: 53.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.5826, allocations: 3.969 kB / 1.047 GB, free: 53.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.5826, allocations: 7.438 kB / 1.047 GB, free: 53.05 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.5826, allocations: 0 / 1.047 GB, free: 53.05 MB / 0.698 GB Notification: Performance of Templates: time 0.002596/0.5852, allocations: 0.6287 MB / 1.048 GB, free: 52.98 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)