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.Exp.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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.974/1.974, allocations: 306.1 MB / 321.4 MB, free: 10.73 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.001205/0.001205, allocations: 171.3 kB / 393.1 MB, free: 4.082 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.556/1.556, allocations: 225.7 MB / 0.6743 GB, free: 12.58 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.0008091/0.0008091, allocations: 95.95 kB / 0.7935 GB, free: 39.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004733, allocations: 12 kB / 0.9225 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7536/0.7541, allocations: 121.3 MB / 1.041 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001024/0.7552, allocations: 400.2 kB / 1.041 GB, free: 57.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.7562, allocations: 0.7857 MB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.7562, allocations: 4.719 kB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.7563, allocations: 3.938 kB / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.322e-05/0.7564, allocations: 0 / 1.042 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.7565, allocations: 7 kB / 1.042 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.356e-05/0.7566, allocations: 29.44 kB / 1.042 GB, free: 57.31 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.7567, allocations: 7.125 kB / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.234e-05/0.7568, allocations: 11.17 kB / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.7568, allocations: 11.36 kB / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.7569, allocations: 0 / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.7569, allocations: 0 / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.7569, allocations: 0 / 1.042 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.7569, allocations: 37.94 kB / 1.042 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.21e-05/0.757, allocations: 13.69 kB / 1.042 GB, free: 57.26 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.757, allocations: 4.625 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.586e-06/0.757, allocations: 1.438 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.757, allocations: 3.938 kB / 1.042 GB, free: 57.25 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.0004382/0.7575, allocations: 340.6 kB / 1.042 GB, free: 56.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.7576, allocations: 9.625 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.7576, allocations: 2.312 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.7577, allocations: 166.8 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.7577, allocations: 5.734 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.7577, allocations: 1.75 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.7579, allocations: 58.02 kB / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.7579, allocations: 192 / 1.043 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.758, allocations: 5.312 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.758, allocations: 1.625 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.7581, allocations: 44.09 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.7585, allocations: 252 kB / 1.043 GB, free: 56.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.7586, allocations: 47.33 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.251e-05/0.7587, allocations: 30.45 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.7588, allocations: 5.75 kB / 1.043 GB, free: 56.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.7588, allocations: 33.31 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.7588, allocations: 0 / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003777/0.7592, allocations: 97.44 kB / 1.043 GB, free: 56.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.7592, allocations: 52.78 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.7593, allocations: 105.6 kB / 1.043 GB, free: 56.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.7593, allocations: 27.08 kB / 1.043 GB, free: 56.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.7593, allocations: 81.72 kB / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.7594, allocations: 10.19 kB / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-06/0.7594, allocations: 0 / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.7594, allocations: 320.3 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.7595, allocations: 18.67 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.7596, allocations: 26.19 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.7598, allocations: 47.22 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7598, allocations: 3.281 kB / 1.044 GB, free: 55.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.76, allocations: 84.23 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.76, allocations: 5.469 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.76, allocations: 0.8125 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.7601, allocations: 0.75 kB / 1.044 GB, free: 55.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.7602, allocations: 16.44 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.7602, allocations: 0 / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.7602, allocations: 13.92 kB / 1.044 GB, free: 55.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.7602, allocations: 0 / 1.044 GB, free: 55.57 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 6.111e-05/0.7603, allocations: 122.2 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.7603, allocations: 1.406 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.7606, allocations: 75.98 kB / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7606, allocations: 4.031 kB / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.7606, allocations: 0 / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.7606, allocations: 5.75 kB / 1.044 GB, free: 55.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.7607, allocations: 163.1 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7607, allocations: 1.438 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.259e-05/0.7608, allocations: 12.77 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.7608, allocations: 3.938 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.7608, allocations: 0 / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7608, allocations: 3.875 kB / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7608, allocations: 0 / 1.044 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.7611, allocations: 176.4 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.7611, allocations: 77.11 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.7611, allocations: 4.031 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.7612, allocations: 7.297 kB / 1.045 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.7612, allocations: 10.59 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.7613, allocations: 0 / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.446e-05/0.7613, allocations: 85.31 kB / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7613, allocations: 0 / 1.045 GB, free: 54.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001889/0.7615, allocations: 1.031 kB / 1.045 GB, free: 54.88 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.000153/0.7616, allocations: 110.1 kB / 1.045 GB, free: 54.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.7619, allocations: 48.38 kB / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.7619, allocations: 0 / 1.045 GB, free: 54.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.762, allocations: 30.88 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.7622, allocations: 7.844 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.7625, allocations: 109 kB / 1.045 GB, free: 54.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.7627, allocations: 0.6753 MB / 1.046 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.698e-05/0.7627, allocations: 3.922 kB / 1.046 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.7627, allocations: 11.5 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.7627, allocations: 1.406 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of Templates: time 0.00227/0.765, allocations: 352.5 kB / 1.046 GB, free: 53.89 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1)