Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2/2, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.001227/0.001227, allocations: 187.5 kB / 393.1 MB, free: 4.078 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.411/1.411, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0008182/0.0008186, allocations: 99.62 kB / 0.7935 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 12 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6175/0.6179, allocations: 121.3 MB / 1.041 GB, free: 58.39 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001455/0.6194, allocations: 1.135 MB / 1.042 GB, free: 57.63 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003589/0.6198, allocations: 202.7 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.6199, allocations: 0 / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.6199, allocations: 0.7969 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.6201, allocations: 18.39 kB / 1.042 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.556e-05/0.6202, allocations: 14.23 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000115/0.6203, allocations: 50.34 kB / 1.042 GB, free: 57.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.6204, allocations: 15.81 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.6204, allocations: 12.5 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.6205, allocations: 21.91 kB / 1.042 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.6205, allocations: 2.75 kB / 1.042 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.6205, allocations: 1.375 kB / 1.042 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.6206, allocations: 8.234 kB / 1.042 GB, free: 57.43 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.6206, allocations: 44.89 kB / 1.042 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.025e-05/0.6207, allocations: 38.17 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6207, allocations: 0 / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6207, allocations: 0.7812 kB / 1.042 GB, free: 57.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.6207, allocations: 0 / 1.042 GB, free: 57.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003939/0.6211, allocations: 369.8 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.6212, allocations: 9.562 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.6212, allocations: 4.812 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.6213, allocations: 181.3 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.6213, allocations: 1.531 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.6213, allocations: 2.5 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.6215, allocations: 69.16 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.6215, allocations: 1.312 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/0.6216, allocations: 4.5 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.6216, allocations: 1.094 kB / 1.043 GB, free: 56.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.6218, allocations: 53.42 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.6221, allocations: 289.4 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.6224, allocations: 70.58 kB / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.832e-05/0.6225, allocations: 32.88 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.6225, allocations: 9.641 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.313e-05/0.6225, allocations: 31.41 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6225, allocations: 0 / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0003493/0.6229, allocations: 121.5 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.6229, allocations: 61.31 kB / 1.044 GB, free: 56.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.623, allocations: 111.6 kB / 1.044 GB, free: 56.15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.623, allocations: 26.77 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.623, allocations: 90.89 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.623, allocations: 20.41 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/0.6231, allocations: 1.281 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.6231, allocations: 311.9 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/0.6232, allocations: 34.94 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.487e-05/0.6233, allocations: 29.95 kB / 1.044 GB, free: 55.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.6235, allocations: 67.22 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6235, allocations: 3.938 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002068/0.6237, allocations: 103.6 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6237, allocations: 4.031 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.6237, allocations: 0 / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.6237, allocations: 2 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.6238, allocations: 14.22 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.6238, allocations: 0 / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.6239, allocations: 13.77 kB / 1.044 GB, free: 55.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.6239, allocations: 1.719 kB / 1.044 GB, free: 55.61 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 (5): * Single equations (assignments): 5 * 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 5.268e-05/0.624, allocations: 118.7 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.624, allocations: 2.5 kB / 1.045 GB, free: 55.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.6243, allocations: 105.4 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.6243, allocations: 2.781 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6243, allocations: 4 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.6243, allocations: 0 / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.6244, allocations: 170 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.6244, allocations: 0 / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.934e-05/0.6245, allocations: 19.19 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.6245, allocations: 1.156 kB / 1.045 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.6245, allocations: 4 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.6245, allocations: 6.906 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6245, allocations: 1.359 kB / 1.045 GB, free: 55.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.6249, allocations: 226.1 kB / 1.045 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.6249, allocations: 87.48 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.6249, allocations: 5.125 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.625, allocations: 10.48 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.6251, allocations: 4.812 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.6251, allocations: 0 / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.875e-05/0.6251, allocations: 91.58 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6251, allocations: 4 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001945/0.6253, allocations: 7.25 kB / 1.045 GB, free: 54.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (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 Backend phase and start with SimCode phase: time 8.283e-05/0.6254, allocations: 104 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.6257, allocations: 75.78 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6257, allocations: 0 / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/0.6258, allocations: 27.22 kB / 1.046 GB, free: 54.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.626, allocations: 10.12 kB / 1.046 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.6263, allocations: 174.8 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.6265, allocations: 0.685 MB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.709e-05/0.6265, allocations: 0 / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.6266, allocations: 9.312 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.6266, allocations: 0.875 kB / 1.046 GB, free: 53.9 MB / 0.698 GB Notification: Performance of Templates: time 0.002449/0.629, allocations: 0.5373 MB / 1.047 GB, free: 53.83 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)