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.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.903/1.903, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001039/0.001038, allocations: 175.5 kB / 393.1 MB, free: 4.09 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.679/1.679, 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.0008234/0.0008236, allocations: 99.27 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003647, allocations: 12 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7109, allocations: 121.3 MB / 1.041 GB, free: 58.38 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001056/0.712, allocations: 392.5 kB / 1.041 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.7122, allocations: 10.98 kB / 1.041 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.7122, allocations: 0 / 1.041 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.7124, allocations: 4.625 kB / 1.041 GB, free: 58.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.633e-05/0.7124, allocations: 6.281 kB / 1.041 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.427e-05/0.7125, allocations: 0.8125 kB / 1.041 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.035e-05/0.7126, allocations: 26.36 kB / 1.041 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.7127, allocations: 31.53 kB / 1.041 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.7128, allocations: 10.47 kB / 1.041 GB, free: 58.15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.647e-05/0.7128, allocations: 10 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.7129, allocations: 1.312 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.7129, allocations: 1.75 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.212e-05/0.7129, allocations: 4.031 kB / 1.041 GB, free: 58.14 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.713, allocations: 42.91 kB / 1.041 GB, free: 58.1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.7131, allocations: 47.12 kB / 1.041 GB, free: 58.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.7131, allocations: 5.844 kB / 1.041 GB, free: 58.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7131, allocations: 0 / 1.041 GB, free: 58.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.7131, allocations: 2.219 kB / 1.041 GB, free: 58.07 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003641/0.7135, allocations: 334.1 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.7136, allocations: 11.14 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.7136, allocations: 9 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.7138, allocations: 179.9 kB / 1.042 GB, free: 57.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.7138, allocations: 10.41 kB / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.7138, allocations: 384 / 1.042 GB, free: 57.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.714, allocations: 82.27 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.714, allocations: 1.188 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.714, allocations: 7.938 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.7141, allocations: 2.781 kB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.7141, allocations: 54.48 kB / 1.042 GB, free: 57.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.7146, allocations: 483.2 kB / 1.043 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.7147, allocations: 170.7 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.7147, allocations: 85.45 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.7147, allocations: 75.78 kB / 1.043 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.7148, allocations: 110.7 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7148, allocations: 0 / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.391e-05/0.7148, allocations: 35.7 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.7149, allocations: 127.2 kB / 1.043 GB, free: 56.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.7151, allocations: 180 kB / 1.043 GB, free: 56.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.7151, allocations: 25.7 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.7151, allocations: 92.2 kB / 1.043 GB, free: 56.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/0.7151, allocations: 1.375 kB / 1.043 GB, free: 56.11 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.7151, allocations: 3.938 kB / 1.043 GB, free: 56.11 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.7152, allocations: 319.8 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.7152, allocations: 9.359 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/0.7153, allocations: 11.03 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.244e-05/0.7153, allocations: 11.3 kB / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.7153, allocations: 0 / 1.044 GB, free: 55.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001298/0.7154, allocations: 57.88 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.7155, allocations: 5.5 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7155, allocations: 112 / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.7155, allocations: 5.734 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.7156, allocations: 3.5 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7156, allocations: 5.312 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.7156, allocations: 7.531 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.7156, allocations: 1.375 kB / 1.044 GB, free: 55.73 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 (1): * Single equations (assignments): 1 * 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 8.581e-05/0.7157, allocations: 196.9 kB / 1.044 GB, free: 55.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.7158, allocations: 108.9 kB / 1.044 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.983e-05/0.7158, allocations: 114.3 kB / 1.044 GB, free: 55.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.441e-05/0.7159, allocations: 182.7 kB / 1.044 GB, free: 55.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-05/0.7159, allocations: 185.7 kB / 1.045 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-05/0.716, allocations: 182.9 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.7162, allocations: 424.3 kB / 1.045 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/0.7162, allocations: 106.3 kB / 1.045 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.7162, allocations: 102.9 kB / 1.045 GB, free: 54.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.54e-05/0.7163, allocations: 186.6 kB / 1.046 GB, free: 53.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.7163, allocations: 176.3 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.361e-05/0.7163, allocations: 177.6 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.508e-05/0.7164, allocations: 192.5 kB / 1.046 GB, free: 53.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.59e-05/0.7165, allocations: 311 kB / 1.046 GB, free: 53.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.7165, allocations: 191.3 kB / 1.047 GB, free: 52.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.7166, allocations: 178.9 kB / 1.047 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.7166, allocations: 106.3 kB / 1.047 GB, free: 52.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.7167, allocations: 188.1 kB / 1.047 GB, free: 52.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.7167, allocations: 106.6 kB / 1.047 GB, free: 52.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.7168, allocations: 130.2 kB / 1.047 GB, free: 52.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7168, allocations: 0 / 1.047 GB, free: 52.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002373/0.717, allocations: 4.781 kB / 1.047 GB, free: 52.16 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.0001327/0.7172, allocations: 182.5 kB / 1.047 GB, free: 52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.132e-05/0.7172, allocations: 14.69 kB / 1.047 GB, free: 51.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7173, allocations: 0 / 1.047 GB, free: 51.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.644e-06/0.7173, allocations: 0 / 1.047 GB, free: 51.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.7176, allocations: 0.5185 MB / 1.048 GB, free: 51.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.7179, allocations: 237.6 kB / 1.048 GB, free: 51.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.7181, allocations: 0.692 MB / 1.049 GB, free: 50.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.7181, allocations: 3.906 kB / 1.049 GB, free: 50.55 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.159e-05/0.7181, allocations: 8.969 kB / 1.049 GB, free: 50.55 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/0.7181, allocations: 0 / 1.049 GB, free: 50.55 MB / 0.698 GB Notification: Performance of Templates: time 0.002499/0.7206, allocations: 452 kB / 1.049 GB, free: 50.48 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)