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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.862/1.862, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.00123/0.00123, allocations: 171.5 kB / 393.1 MB, free: 4.086 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.709/1.709, 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.0008699/0.0008699, allocations: 100 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004296, allocations: 19.98 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8183, allocations: 121.3 MB / 1.041 GB, free: 58.54 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001021/0.8194, allocations: 0.535 MB / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.8206, allocations: 1.083 MB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.8207, allocations: 2.438 kB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.921e-05/0.8208, allocations: 10.62 kB / 1.042 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.8209, allocations: 24.34 kB / 1.043 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.8212, allocations: 70.86 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.8213, allocations: 107.6 kB / 1.043 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.8215, allocations: 56.59 kB / 1.043 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.8216, allocations: 32.52 kB / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.8217, allocations: 48.16 kB / 1.043 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.8218, allocations: 5.344 kB / 1.043 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.8219, allocations: 53.28 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.8219, allocations: 32.22 kB / 1.043 GB, free: 57.22 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.822, allocations: 67.67 kB / 1.043 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.8223, allocations: 182.6 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.8223, allocations: 3.281 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.953e-06/0.8223, allocations: 0 / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.8223, allocations: 0 / 1.043 GB, free: 57.11 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007505/0.8231, allocations: 489.4 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.8231, allocations: 9.719 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.8232, allocations: 14.66 kB / 1.044 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.8233, allocations: 208.5 kB / 1.044 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.8233, allocations: 9.016 kB / 1.044 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.8234, allocations: 5.5 kB / 1.044 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.8239, allocations: 217.5 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.8239, allocations: 5.438 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.8239, allocations: 3.938 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/0.824, allocations: 10.45 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000725/0.8247, allocations: 257 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009222/0.8257, allocations: 487.7 kB / 1.045 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004264/0.8261, allocations: 164.4 kB / 1.045 GB, free: 55.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.8265, allocations: 157.7 kB / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.8265, allocations: 5.078 kB / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.8265, allocations: 30.56 kB / 1.045 GB, free: 55.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.333e-06/0.8265, allocations: 0 / 1.045 GB, free: 55.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001255/0.8278, allocations: 485.5 kB / 1.046 GB, free: 55.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.8278, allocations: 51.41 kB / 1.046 GB, free: 55.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.828, allocations: 150.4 kB / 1.046 GB, free: 55.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.828, allocations: 25.7 kB / 1.046 GB, free: 55.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.828, allocations: 116.2 kB / 1.046 GB, free: 55.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.8281, allocations: 48 kB / 1.046 GB, free: 55.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.8281, allocations: 4.062 kB / 1.046 GB, free: 55.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.8282, allocations: 327 kB / 1.046 GB, free: 55.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.8286, allocations: 136.1 kB / 1.046 GB, free: 55.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.8289, allocations: 142.4 kB / 1.047 GB, free: 55.05 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.8297, allocations: 301.7 kB / 1.047 GB, free: 54.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8297, allocations: 0 / 1.047 GB, free: 54.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007441/0.8304, allocations: 325.4 kB / 1.047 GB, free: 54.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8305, allocations: 8.438 kB / 1.047 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.8305, allocations: 0 / 1.047 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.8305, allocations: 5.094 kB / 1.047 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.8307, allocations: 49.42 kB / 1.047 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8307, allocations: 4 kB / 1.047 GB, free: 54.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.8309, allocations: 57.81 kB / 1.047 GB, free: 54.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.831, allocations: 3.531 kB / 1.047 GB, free: 54.88 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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 8.389e-05/0.831, allocations: 128.8 kB / 1.047 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.8311, allocations: 7.656 kB / 1.047 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.8311, allocations: 18.12 kB / 1.047 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.8311, allocations: 7.719 kB / 1.047 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.8311, allocations: 0 / 1.047 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.8312, allocations: 7.875 kB / 1.047 GB, free: 54.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.8314, allocations: 230.7 kB / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8314, allocations: 0 / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.8316, allocations: 49.83 kB / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8316, allocations: 2.469 kB / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.8316, allocations: 0 / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8316, allocations: 6.875 kB / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8316, allocations: 0 / 1.048 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.8324, allocations: 436.7 kB / 1.048 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.8324, allocations: 93.83 kB / 1.048 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.8324, allocations: 0 / 1.048 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.8326, allocations: 44.58 kB / 1.048 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.8327, allocations: 16.16 kB / 1.048 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.8327, allocations: 3.312 kB / 1.048 GB, free: 54.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.656e-05/0.8328, allocations: 114.3 kB / 1.048 GB, free: 54.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8328, allocations: 0 / 1.048 GB, free: 54.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00028/0.8331, allocations: 39.28 kB / 1.048 GB, free: 54.11 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.00021/0.8333, allocations: 132 kB / 1.049 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007785/0.8341, allocations: 304.2 kB / 1.049 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8341, allocations: 0 / 1.049 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003781/0.8345, allocations: 162.5 kB / 1.049 GB, free: 53.93 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.8348, allocations: 27.39 kB / 1.049 GB, free: 53.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.8354, allocations: 379 kB / 1.049 GB, free: 53.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.8356, allocations: 0.7176 MB / 1.05 GB, free: 52.97 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.221e-05/0.8356, allocations: 20.78 kB / 1.05 GB, free: 52.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.8357, allocations: 11.09 kB / 1.05 GB, free: 52.96 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.8357, allocations: 0 / 1.05 GB, free: 52.96 MB / 0.698 GB Notification: Performance of Templates: time 0.004077/0.8398, allocations: 1.556 MB / 1.052 GB, free: 52.85 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1)