Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.00112/0.00112, allocations: 178 kB / 382.3 MB, free: 14.84 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.536/1.536, allocations: 225.7 MB / 0.6617 GB, free: 7.227 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.0008462/0.0008462, allocations: 92.16 kB / 0.7789 GB, free: 47 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 13.05 kB / 0.9059 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7048, allocations: 119.2 MB / 1.022 GB, free: 58.16 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0009044/0.7058, allocations: 415.3 kB / 1.023 GB, free: 57.99 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009856/0.7068, allocations: 0.8666 MB / 1.024 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.7068, allocations: 1.594 kB / 1.024 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.7069, allocations: 3.938 kB / 1.024 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.995e-05/0.7069, allocations: 9.281 kB / 1.024 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.7071, allocations: 10.12 kB / 1.024 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.7072, allocations: 41.08 kB / 1.024 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.7073, allocations: 10 kB / 1.024 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/0.7074, allocations: 18.53 kB / 1.024 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.7075, allocations: 19.72 kB / 1.024 GB, free: 57.49 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.7075, allocations: 6.344 kB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.7075, allocations: 1.344 kB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.7075, allocations: 2.875 kB / 1.024 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.7076, allocations: 44.84 kB / 1.024 GB, free: 57.44 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.024e-05/0.7077, allocations: 37.58 kB / 1.024 GB, free: 57.43 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7077, allocations: 0 / 1.024 GB, free: 57.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7077, allocations: 4.656 kB / 1.024 GB, free: 57.43 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7077, allocations: 3.938 kB / 1.024 GB, free: 57.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005162/0.7082, allocations: 366.3 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.7083, allocations: 14.78 kB / 1.024 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.7083, allocations: 9.656 kB / 1.024 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.042e-05/0.7084, allocations: 164.8 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.7084, allocations: 7.531 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.7085, allocations: 3.812 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.7087, allocations: 83 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.7087, allocations: 192 / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.7087, allocations: 3.938 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7088, allocations: 1.375 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.7091, allocations: 85.11 kB / 1.024 GB, free: 56.81 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002961/0.7094, allocations: 266.5 kB / 1.025 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.7096, allocations: 71.64 kB / 1.025 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.7098, allocations: 52.94 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.7098, allocations: 2.938 kB / 1.025 GB, free: 56.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.7098, allocations: 32.81 kB / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.7098, allocations: 0 / 1.025 GB, free: 56.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005693/0.7104, allocations: 167.5 kB / 1.025 GB, free: 56.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.7105, allocations: 54.03 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.906e-05/0.7105, allocations: 108.5 kB / 1.025 GB, free: 56.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.7105, allocations: 26.92 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.7106, allocations: 87.73 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.7106, allocations: 15.38 kB / 1.025 GB, free: 56.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.7106, allocations: 4 kB / 1.025 GB, free: 56.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.7107, allocations: 317.5 kB / 1.026 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.7108, allocations: 40.78 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.711, allocations: 43.55 kB / 1.026 GB, free: 55.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.7113, allocations: 96.94 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7113, allocations: 5.125 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000309/0.7116, allocations: 118.8 kB / 1.026 GB, free: 55.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.7116, allocations: 8.344 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.7116, allocations: 0 / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.7116, allocations: 0.6562 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.7118, allocations: 23.88 kB / 1.026 GB, free: 55.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.7118, allocations: 5.703 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.7119, allocations: 15.98 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.7119, allocations: 1.375 kB / 1.026 GB, free: 55.68 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 (3): * Single equations (assignments): 3 * 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.406e-05/0.7119, allocations: 119.5 kB / 1.026 GB, free: 55.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.712, allocations: 9.891 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.712, allocations: 5.891 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.712, allocations: 1.828 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.712, allocations: 2.078 kB / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.712, allocations: 0 / 1.026 GB, free: 55.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.7121, allocations: 172.1 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.7121, allocations: 0 / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.7123, allocations: 24.61 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.7123, allocations: 5.125 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.7123, allocations: 0.8125 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.7123, allocations: 2.062 kB / 1.026 GB, free: 55.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7123, allocations: 3.938 kB / 1.026 GB, free: 55.34 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.7126, allocations: 217 kB / 1.026 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.7127, allocations: 83.28 kB / 1.027 GB, free: 55.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.7127, allocations: 1.312 kB / 1.027 GB, free: 55.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.7128, allocations: 21.42 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.7129, allocations: 4.469 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.7129, allocations: 4.547 kB / 1.027 GB, free: 55.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.77e-05/0.7129, allocations: 86.31 kB / 1.027 GB, free: 55.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7129, allocations: 0 / 1.027 GB, free: 55.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001928/0.7131, allocations: 6.438 kB / 1.027 GB, free: 55.02 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 (3): * Single equations (assignments): 3 * 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.0001132/0.7132, allocations: 114 kB / 1.027 GB, free: 54.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003415/0.7136, allocations: 91.77 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7136, allocations: 4 kB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.7137, allocations: 45.8 kB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.714, allocations: 10.36 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.7143, allocations: 134.6 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.7144, allocations: 0.6822 MB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.894e-05/0.7145, allocations: 3.938 kB / 1.028 GB, free: 54.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.7145, allocations: 12 kB / 1.028 GB, free: 54.06 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.7145, allocations: 0 / 1.028 GB, free: 54.06 MB / 0.698 GB Notification: Performance of Templates: time 0.002367/0.7169, allocations: 0.5757 MB / 1.028 GB, free: 54 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)