Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.813/1.813, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001223/0.001223, allocations: 187.5 kB / 393.1 MB, free: 4.066 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.606/1.606, 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.0009355/0.0009358, allocations: 91 kB / 0.7935 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005129/0.0005132, allocations: 12 kB / 0.9225 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8436/0.8441, allocations: 121.3 MB / 1.041 GB, free: 58.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.0011/0.8453, allocations: 469 kB / 1.041 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.8456, allocations: 54.41 kB / 1.041 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.204e-05/0.8457, allocations: 5.312 kB / 1.041 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.8458, allocations: 13.22 kB / 1.041 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.469e-05/0.8459, allocations: 24.03 kB / 1.041 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.8461, allocations: 19.98 kB / 1.041 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.8463, allocations: 110.4 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.8467, allocations: 149.8 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.8468, allocations: 35.39 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.8469, allocations: 51.98 kB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.8469, allocations: 2.719 kB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.07e-05/0.847, allocations: 4.125 kB / 1.042 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.847, allocations: 31.78 kB / 1.042 GB, free: 57.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.347e-05/0.8471, allocations: 97.48 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002817/0.8474, allocations: 217.5 kB / 1.042 GB, free: 57.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8474, allocations: 0 / 1.042 GB, free: 57.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8475, allocations: 0 / 1.042 GB, free: 57.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.8475, allocations: 0 / 1.042 GB, free: 57.51 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005968/0.8481, allocations: 458.7 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.8481, allocations: 7.781 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.8482, allocations: 33.66 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.8486, allocations: 247.2 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.8486, allocations: 10.34 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.8486, allocations: 24.45 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.8492, allocations: 338.4 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.8493, allocations: 5.438 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.8493, allocations: 6.328 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.8493, allocations: 20.97 kB / 1.043 GB, free: 56.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.8497, allocations: 269.3 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.851, allocations: 1.083 MB / 1.045 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.371e-05/0.8511, allocations: 166.2 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.8511, allocations: 88.14 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.8511, allocations: 79.22 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.8512, allocations: 108.6 kB / 1.045 GB, free: 55.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.8512, allocations: 7.875 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001126/0.8513, allocations: 52.98 kB / 1.045 GB, free: 55.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.8514, allocations: 128 kB / 1.045 GB, free: 55.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.8519, allocations: 0.4945 MB / 1.046 GB, free: 55.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.852, allocations: 25.7 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.8521, allocations: 177.4 kB / 1.046 GB, free: 54.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/0.8521, allocations: 3.547 kB / 1.046 GB, free: 54.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.714e-06/0.8521, allocations: 4 kB / 1.046 GB, free: 54.87 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.8522, allocations: 335.8 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.8523, allocations: 48.77 kB / 1.046 GB, free: 54.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.8524, allocations: 105.9 kB / 1.046 GB, free: 54.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.8525, allocations: 115.8 kB / 1.046 GB, free: 54.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8525, allocations: 0 / 1.046 GB, free: 54.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003326/0.8529, allocations: 194.8 kB / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8529, allocations: 13.44 kB / 1.047 GB, free: 54.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.8529, allocations: 6.938 kB / 1.047 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.8529, allocations: 1.688 kB / 1.047 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.8531, allocations: 24.42 kB / 1.047 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.8531, allocations: 1.906 kB / 1.047 GB, free: 54.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.8532, allocations: 30.98 kB / 1.047 GB, free: 54.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.8532, allocations: 14.69 kB / 1.047 GB, free: 54.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001614/0.8534, allocations: 248.6 kB / 1.047 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.239e-05/0.8535, allocations: 137.7 kB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.022e-05/0.8535, allocations: 141.8 kB / 1.047 GB, free: 53.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.932e-05/0.8536, allocations: 176.3 kB / 1.047 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/0.8536, allocations: 180.2 kB / 1.048 GB, free: 53.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/0.8536, allocations: 180.8 kB / 1.048 GB, free: 53.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.8539, allocations: 492 kB / 1.048 GB, free: 52.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/0.8539, allocations: 109 kB / 1.048 GB, free: 52.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.854, allocations: 109.6 kB / 1.048 GB, free: 52.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.391e-05/0.854, allocations: 181.2 kB / 1.049 GB, free: 52.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.854, allocations: 177.6 kB / 1.049 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.054e-05/0.8541, allocations: 181 kB / 1.049 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-05/0.8541, allocations: 182.7 kB / 1.049 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.8542, allocations: 327.4 kB / 1.049 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.8544, allocations: 225.3 kB / 1.05 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.8544, allocations: 195.8 kB / 1.05 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.8546, allocations: 106.7 kB / 1.05 GB, free: 51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.8546, allocations: 188.9 kB / 1.05 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.8546, allocations: 105.7 kB / 1.05 GB, free: 50.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003738/0.855, allocations: 365.2 kB / 1.051 GB, free: 50.55 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.855, allocations: 0 / 1.051 GB, free: 50.55 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002942/0.8553, allocations: 26.44 kB / 1.051 GB, free: 50.55 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 (0): * Single equations (assignments): 0 * 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.0001352/0.8554, allocations: 178.9 kB / 1.051 GB, free: 50.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.8556, allocations: 74.08 kB / 1.051 GB, free: 50.37 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8556, allocations: 0 / 1.051 GB, free: 50.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.825e-06/0.8556, allocations: 3.938 kB / 1.051 GB, free: 50.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.8561, allocations: 0.5421 MB / 1.051 GB, free: 49.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.8567, allocations: 0.5103 MB / 1.052 GB, free: 49.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.857, allocations: 0.7733 MB / 1.053 GB, free: 48.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.8571, allocations: 52.33 kB / 1.053 GB, free: 48.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.8572, allocations: 17.97 kB / 1.053 GB, free: 48.78 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/0.8572, allocations: 4 kB / 1.053 GB, free: 48.77 MB / 0.698 GB Notification: Performance of Templates: time 0.004553/0.8617, allocations: 1.62 MB / 1.054 GB, free: 48.66 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)