Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.146/2.146, 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.001138/0.001138, allocations: 175.5 kB / 393.1 MB, free: 4.051 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.722/1.722, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.001007/0.001007, allocations: 94.97 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004214, allocations: 8 kB / 0.9224 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8976/0.898, allocations: 121.3 MB / 1.041 GB, free: 58.47 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001876/0.9, allocations: 0.9527 MB / 1.042 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003834/0.9004, allocations: 126.3 kB / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.9004, allocations: 0 / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.619e-05/0.9005, allocations: 1.406 kB / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.9007, allocations: 5.688 kB / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.9009, allocations: 20.31 kB / 1.042 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.278e-05/0.901, allocations: 29.11 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.892e-05/0.9011, allocations: 3.391 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.9011, allocations: 10.47 kB / 1.042 GB, free: 57.7 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.011e-05/0.9012, allocations: 23.2 kB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.9012, allocations: 0 / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.9013, allocations: 5.266 kB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.9014, allocations: 45.89 kB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.9015, allocations: 70.02 kB / 1.042 GB, free: 57.62 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.9017, allocations: 65.72 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.9017, allocations: 2.938 kB / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9017, allocations: 0 / 1.042 GB, free: 57.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.9017, allocations: 0 / 1.042 GB, free: 57.59 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004695/0.9022, allocations: 419.8 kB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.9023, allocations: 9.625 kB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.501e-05/0.9023, allocations: 85 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.9025, allocations: 269.1 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.9026, allocations: 151.9 kB / 1.043 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.9026, allocations: 151.2 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.177e-05/0.9027, allocations: 104 kB / 1.043 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.9027, allocations: 75.28 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.9028, allocations: 155.2 kB / 1.044 GB, free: 56.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.9028, allocations: 155.3 kB / 1.044 GB, free: 56.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.9029, allocations: 154.6 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.9032, allocations: 497.4 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.692e-05/0.9032, allocations: 173.2 kB / 1.044 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.9033, allocations: 85.45 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.9033, allocations: 78.44 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.9033, allocations: 112 kB / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.9033, allocations: 0 / 1.045 GB, free: 54.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.078e-05/0.9034, allocations: 38.53 kB / 1.045 GB, free: 54.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.9035, allocations: 126.7 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.9038, allocations: 228.6 kB / 1.045 GB, free: 54.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.9038, allocations: 25.7 kB / 1.045 GB, free: 54.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.566e-05/0.9039, allocations: 111.9 kB / 1.045 GB, free: 54.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.9039, allocations: 0 / 1.045 GB, free: 54.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.9039, allocations: 1.312 kB / 1.045 GB, free: 54.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.904, allocations: 331.4 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.9041, allocations: 58.39 kB / 1.046 GB, free: 54.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.637e-05/0.9042, allocations: 59.8 kB / 1.046 GB, free: 54.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.9044, allocations: 139 kB / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9044, allocations: 0 / 1.046 GB, free: 54.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003829/0.9048, allocations: 174.2 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.9049, allocations: 10.56 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.9049, allocations: 0 / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9049, allocations: 0 / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.9049, allocations: 2.125 kB / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.9049, allocations: 0 / 1.046 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.905, allocations: 18.66 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.905, allocations: 10.97 kB / 1.046 GB, free: 54.04 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): 0 * Array equations: 1 * 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.0001233/0.9051, allocations: 205.7 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-05/0.9052, allocations: 119.5 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.9053, allocations: 111.9 kB / 1.046 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/0.9053, allocations: 185 kB / 1.047 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.868e-05/0.9054, allocations: 176.3 kB / 1.047 GB, free: 53.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-05/0.9054, allocations: 183.3 kB / 1.047 GB, free: 53.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.9056, allocations: 441.3 kB / 1.047 GB, free: 52.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-05/0.9057, allocations: 109 kB / 1.047 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.9057, allocations: 104.9 kB / 1.048 GB, free: 52.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.413e-05/0.9058, allocations: 180.2 kB / 1.048 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.044e-05/0.9058, allocations: 182.9 kB / 1.048 GB, free: 52.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.895e-05/0.9059, allocations: 179.8 kB / 1.048 GB, free: 51.85 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.727e-05/0.9059, allocations: 180.3 kB / 1.048 GB, free: 51.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.9061, allocations: 323.6 kB / 1.049 GB, free: 51.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-05/0.9061, allocations: 191.8 kB / 1.049 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.9062, allocations: 177.7 kB / 1.049 GB, free: 50.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.9063, allocations: 116.6 kB / 1.049 GB, free: 50.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/0.9063, allocations: 182.4 kB / 1.049 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.9064, allocations: 101 kB / 1.049 GB, free: 50.54 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001649/0.9065, allocations: 167.7 kB / 1.049 GB, free: 50.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9066, allocations: 3.938 kB / 1.049 GB, free: 50.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002634/0.9068, allocations: 22.59 kB / 1.049 GB, free: 50.43 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.0001764/0.907, allocations: 182.1 kB / 1.05 GB, free: 50.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.9072, allocations: 84.55 kB / 1.05 GB, free: 50.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.9072, allocations: 0 / 1.05 GB, free: 50.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.9072, allocations: 4.969 kB / 1.05 GB, free: 50.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.9076, allocations: 0.5211 MB / 1.05 GB, free: 49.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.9081, allocations: 321.1 kB / 1.051 GB, free: 49.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.9083, allocations: 0.7107 MB / 1.051 GB, free: 48.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.9083, allocations: 7.734 kB / 1.051 GB, free: 48.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.9084, allocations: 10.5 kB / 1.051 GB, free: 48.75 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9084, allocations: 0 / 1.051 GB, free: 48.75 MB / 0.698 GB Notification: Performance of Templates: time 0.003472/0.9119, allocations: 0.7072 MB / 1.052 GB, free: 48.64 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)