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.Cos.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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.773/1.773, allocations: 306.1 MB / 321.3 MB, free: 10.67 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.001184/0.001184, allocations: 187.3 kB / 393.1 MB, free: 4.043 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.629/1.629, allocations: 225.7 MB / 0.6743 GB, free: 12.57 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.0008602/0.0008599, allocations: 101.2 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005037, allocations: 12 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6917/0.6922, allocations: 121.3 MB / 1.041 GB, free: 58.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Cos): time 0.000895/0.6932, allocations: 394.7 kB / 1.041 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008463/0.694, allocations: 0.7999 MB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.6941, allocations: 0 / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.478e-05/0.6941, allocations: 0.7812 kB / 1.042 GB, free: 57.58 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.6942, allocations: 6.188 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.6943, allocations: 11.66 kB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.6944, allocations: 24.7 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.6945, allocations: 9.688 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.6946, allocations: 4.062 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.6946, allocations: 10.66 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.6946, allocations: 0 / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.6946, allocations: 1.969 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.6947, allocations: 6.812 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.6947, allocations: 35.52 kB / 1.042 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 6.861e-05/0.6948, allocations: 19.91 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.6948, allocations: 0 / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6948, allocations: 3.938 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.6948, allocations: 0 / 1.042 GB, free: 57.5 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.0003792/0.6952, allocations: 340.8 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6952, allocations: 9 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.836e-05/0.6953, allocations: 6.156 kB / 1.043 GB, free: 57.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.235e-05/0.6954, allocations: 166.7 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.6954, allocations: 3.141 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.6954, allocations: 2.625 kB / 1.043 GB, free: 56.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.6956, allocations: 61.14 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6956, allocations: 192 / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.6956, allocations: 3.938 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6956, allocations: 1.438 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.6958, allocations: 44.8 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/0.6961, allocations: 245.2 kB / 1.043 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.6962, allocations: 52.61 kB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.529e-05/0.6963, allocations: 26.59 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.6964, allocations: 1.375 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.6964, allocations: 37.56 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6964, allocations: 0 / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000343/0.6967, allocations: 94.56 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.6968, allocations: 51.41 kB / 1.043 GB, free: 56.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.411e-05/0.6968, allocations: 102.3 kB / 1.043 GB, free: 56.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.6969, allocations: 28.45 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.6969, allocations: 80.14 kB / 1.043 GB, free: 56.22 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/0.6969, allocations: 16.66 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.6969, allocations: 3.031 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.697, allocations: 314.3 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.6971, allocations: 24.09 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.6971, allocations: 19.75 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.6973, allocations: 49.52 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6973, allocations: 3.562 kB / 1.044 GB, free: 55.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000176/0.6975, allocations: 77.11 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6975, allocations: 10.34 kB / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6975, allocations: 0 / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6975, allocations: 0 / 1.044 GB, free: 55.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.6976, allocations: 20.11 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6977, allocations: 6.094 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.6977, allocations: 14.45 kB / 1.044 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.6977, allocations: 0 / 1.044 GB, free: 55.81 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 5.252e-05/0.6978, allocations: 113 kB / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.6978, allocations: 0 / 1.044 GB, free: 55.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.6981, allocations: 83.86 kB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6981, allocations: 0.9688 kB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6981, allocations: 0 / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6981, allocations: 1.312 kB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.6982, allocations: 164.8 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.6982, allocations: 3.938 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.6983, allocations: 15.28 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.6983, allocations: 2.594 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.6983, allocations: 0 / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6983, allocations: 7.938 kB / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6983, allocations: 0 / 1.044 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.6985, allocations: 179.4 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.6986, allocations: 77.11 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.6986, allocations: 0 / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.6987, allocations: 7.047 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.6987, allocations: 4 kB / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.6987, allocations: 0 / 1.045 GB, free: 55.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.6987, allocations: 85.48 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6987, allocations: 0 / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001916/0.6989, allocations: 5.406 kB / 1.045 GB, free: 55.12 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.0001278/0.6991, allocations: 110.3 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.6993, allocations: 51.11 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6993, allocations: 0 / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.037e-05/0.6994, allocations: 23.53 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.6996, allocations: 9.062 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.6999, allocations: 114.9 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.7, allocations: 0.6762 MB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.7001, allocations: 2.156 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.168e-05/0.7001, allocations: 7.438 kB / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.7001, allocations: 0 / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of Templates: time 0.002045/0.7021, allocations: 365.5 kB / 1.046 GB, free: 54.13 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Cos.pipe 2>&1)