Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.697/1.697, allocations: 291.7 MB / 306.8 MB, free: 7.645 MB / 234.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.001016/0.001016, allocations: 181.4 kB / 375.4 MB, free: 5.105 MB / 298.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.519/1.519, allocations: 225.7 MB / 0.6538 GB, free: 13.61 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007942/0.000794, allocations: 99.27 kB / 0.7699 GB, free: 50.11 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004148, allocations: 12 kB / 0.8956 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8098/0.8102, allocations: 118.1 MB / 1.011 GB, free: 56.87 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0008621/0.8111, allocations: 421.3 kB / 1.011 GB, free: 56.86 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008933/0.8121, allocations: 0.8574 MB / 1.012 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.994e-05/0.8121, allocations: 2.969 kB / 1.012 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.8121, allocations: 5 kB / 1.012 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.052e-05/0.8122, allocations: 5.578 kB / 1.012 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.8123, allocations: 10.94 kB / 1.012 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.8124, allocations: 40.36 kB / 1.012 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.8125, allocations: 10.45 kB / 1.012 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.812e-05/0.8126, allocations: 16.81 kB / 1.012 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.521e-05/0.8126, allocations: 15.33 kB / 1.012 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.8126, allocations: 3.531 kB / 1.012 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.8127, allocations: 0.6562 kB / 1.012 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.8127, allocations: 12.12 kB / 1.012 GB, free: 56.8 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.8127, allocations: 33.11 kB / 1.012 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.085e-05/0.8128, allocations: 30.12 kB / 1.012 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.8128, allocations: 0 / 1.012 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8128, allocations: 0 / 1.012 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.8128, allocations: 4.062 kB / 1.012 GB, free: 56.77 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004141/0.8132, allocations: 368.6 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.8133, allocations: 8.875 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.8133, allocations: 8.312 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.508e-05/0.8134, allocations: 165.5 kB / 1.013 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.8134, allocations: 3.438 kB / 1.013 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.8134, allocations: 3.406 kB / 1.013 GB, free: 56.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.8137, allocations: 86.72 kB / 1.013 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.8137, allocations: 192 / 1.013 GB, free: 56.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.8137, allocations: 4.438 kB / 1.013 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.8137, allocations: 2.531 kB / 1.013 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.814, allocations: 85.7 kB / 1.013 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.8143, allocations: 267.1 kB / 1.013 GB, free: 55.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.8145, allocations: 78.45 kB / 1.013 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.8146, allocations: 48.55 kB / 1.013 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.8147, allocations: 3.125 kB / 1.013 GB, free: 55.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.8147, allocations: 30.56 kB / 1.013 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.704e-06/0.8147, allocations: 0.5156 kB / 1.013 GB, free: 55.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0004996/0.8152, allocations: 166.8 kB / 1.014 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.8152, allocations: 58.67 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.611e-05/0.8153, allocations: 109.9 kB / 1.014 GB, free: 55.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.8153, allocations: 26.52 kB / 1.014 GB, free: 55.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.8153, allocations: 84.08 kB / 1.014 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.8154, allocations: 16.03 kB / 1.014 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.8154, allocations: 3.938 kB / 1.014 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.8154, allocations: 322 kB / 1.014 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.8156, allocations: 44.72 kB / 1.014 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.8157, allocations: 45.42 kB / 1.014 GB, free: 55.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/0.816, allocations: 89.95 kB / 1.014 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.816, allocations: 3.938 kB / 1.014 GB, free: 55.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002927/0.8163, allocations: 116 kB / 1.014 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.8163, allocations: 5.156 kB / 1.014 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.8163, allocations: 2.625 kB / 1.014 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.8163, allocations: 0 / 1.014 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.8165, allocations: 29.2 kB / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8165, allocations: 0 / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.8166, allocations: 17.88 kB / 1.015 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.8166, allocations: 0 / 1.015 GB, free: 55.14 MB / 0.7136 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.8166, allocations: 121 kB / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.8167, allocations: 10.14 kB / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.478e-05/0.8167, allocations: 5 kB / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8167, allocations: 0 / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8167, allocations: 0 / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8167, allocations: 4.562 kB / 1.015 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.8168, allocations: 171 kB / 1.015 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8168, allocations: 5.875 kB / 1.015 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-05/0.8169, allocations: 17.66 kB / 1.015 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8169, allocations: 0 / 1.015 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.817, allocations: 4.141 kB / 1.015 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.817, allocations: 0 / 1.015 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.817, allocations: 0 / 1.015 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003256/0.8173, allocations: 224 kB / 1.015 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.8173, allocations: 83.64 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.8174, allocations: 0.625 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.8175, allocations: 20.03 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.8175, allocations: 11.64 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.8175, allocations: 2.531 kB / 1.015 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.922e-05/0.8176, allocations: 93.94 kB / 1.015 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8176, allocations: 0 / 1.015 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001879/0.8178, allocations: 5.375 kB / 1.015 GB, free: 54.51 MB / 0.7136 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.8179, allocations: 102.1 kB / 1.015 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.8182, allocations: 89.28 kB / 1.015 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8182, allocations: 0 / 1.015 GB, free: 54.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.8184, allocations: 59.62 kB / 1.016 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/0.8186, allocations: 7.594 kB / 1.016 GB, free: 54.41 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.8189, allocations: 133.8 kB / 1.016 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.819, allocations: 0.6796 MB / 1.016 GB, free: 53.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.8191, allocations: 4.75 kB / 1.016 GB, free: 53.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.8191, allocations: 10.34 kB / 1.016 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8191, allocations: 0 / 1.016 GB, free: 53.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.002256/0.8214, allocations: 0.558 MB / 1.017 GB, free: 53.57 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)