Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.573/2.573, allocations: 254.9 MB / 269.9 MB, free: 9.648 MB / 218.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.002226/0.002226, allocations: 197.6 kB / 329.5 MB, free: 1.164 MB / 250.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 2.532/2.532, allocations: 225.6 MB / 0.6001 GB, free: 2.254 MB / 426.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.00148/0.00148, allocations: 87.77 kB / 0.7074 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004907, allocations: 13 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2095, allocations: 109.1 MB / 0.9308 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.00168/0.2113, allocations: 1.163 MB / 0.9319 GB, free: 23.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005228/0.2118, allocations: 215.4 kB / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.2119, allocations: 7.938 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.2119, allocations: 0 / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.212, allocations: 7.922 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.2122, allocations: 27.92 kB / 0.9322 GB, free: 23.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.327e-05/0.2123, allocations: 51.84 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.2124, allocations: 19.89 kB / 0.9322 GB, free: 23.65 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.2125, allocations: 15.92 kB / 0.9323 GB, free: 23.63 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.154e-05/0.2126, allocations: 19.91 kB / 0.9323 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.2126, allocations: 4 kB / 0.9323 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/0.2126, allocations: 4 kB / 0.9323 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.2127, allocations: 11.92 kB / 0.9323 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.2127, allocations: 37.64 kB / 0.9323 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.825e-05/0.2128, allocations: 35.92 kB / 0.9324 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2128, allocations: 0 / 0.9324 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2128, allocations: 0 / 0.9324 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.2128, allocations: 0 / 0.9324 GB, free: 23.52 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006098/0.2135, allocations: 383.6 kB / 0.9327 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2135, allocations: 12.03 kB / 0.9327 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.2136, allocations: 8.844 kB / 0.9327 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2137, allocations: 172.4 kB / 0.9329 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2137, allocations: 4.375 kB / 0.9329 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.2137, allocations: 4.375 kB / 0.9329 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.214, allocations: 66.23 kB / 0.933 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.214, allocations: 192 / 0.933 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.214, allocations: 7.938 kB / 0.933 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.2141, allocations: 7.984 kB / 0.933 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.2144, allocations: 51.91 kB / 0.933 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.2149, allocations: 308.7 kB / 0.9333 GB, free: 22.37 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.2156, allocations: 122.5 kB / 0.9335 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.2158, allocations: 32.97 kB / 0.9335 GB, free: 22.2 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2159, allocations: 15.88 kB / 0.9335 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003001/0.2162, allocations: 83.36 kB / 0.9336 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.344e-06/0.2162, allocations: 0 / 0.9336 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0006252/0.2168, allocations: 149.6 kB / 0.9337 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.2169, allocations: 51.41 kB / 0.9338 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.217, allocations: 117.8 kB / 0.9339 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.217, allocations: 29.7 kB / 0.9339 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.217, allocations: 96.08 kB / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.2171, allocations: 15.8 kB / 0.934 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.2171, allocations: 4.375 kB / 0.934 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.996e-05/0.2172, allocations: 318.8 kB / 0.9343 GB, free: 21.28 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.2173, allocations: 35.97 kB / 0.9344 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.2175, allocations: 67.33 kB / 0.9344 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.2177, allocations: 31.98 kB / 0.9345 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2177, allocations: 0 / 0.9345 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004141/0.2182, allocations: 133.4 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2182, allocations: 4 kB / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2182, allocations: 0 / 0.9346 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2182, allocations: 4 kB / 0.9346 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.2184, allocations: 24.14 kB / 0.9346 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2184, allocations: 0 / 0.9346 GB, free: 20.97 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.2186, allocations: 15.98 kB / 0.9346 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2186, allocations: 4.312 kB / 0.9346 GB, free: 20.95 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.633e-05/0.2187, allocations: 125.7 kB / 0.9348 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.2187, allocations: 7.906 kB / 0.9348 GB, free: 20.81 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.2188, allocations: 12.38 kB / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2188, allocations: 0 / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2188, allocations: 0 / 0.9348 GB, free: 20.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.2188, allocations: 7.984 kB / 0.9348 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.2194, allocations: 374.4 kB / 0.9351 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2195, allocations: 0 / 0.9351 GB, free: 20.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.2196, allocations: 15.92 kB / 0.9352 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2196, allocations: 4 kB / 0.9352 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2196, allocations: 0 / 0.9352 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2196, allocations: 0 / 0.9352 GB, free: 20.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2196, allocations: 7.875 kB / 0.9352 GB, free: 20.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.22, allocations: 207.4 kB / 0.9354 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.084e-05/0.2201, allocations: 85.02 kB / 0.9354 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.2201, allocations: 4 kB / 0.9354 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.2203, allocations: 19.98 kB / 0.9355 GB, free: 20 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.2204, allocations: 11.92 kB / 0.9355 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.2204, allocations: 0 / 0.9355 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.2204, allocations: 95.39 kB / 0.9356 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2204, allocations: 0 / 0.9356 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002961/0.2207, allocations: 16 kB / 0.9356 GB, free: 19.88 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001212/0.2209, allocations: 107.7 kB / 0.9357 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004155/0.2213, allocations: 91.86 kB / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2213, allocations: 0 / 0.9358 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001871/0.2215, allocations: 35.98 kB / 0.9358 GB, free: 19.64 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.2219, allocations: 20.17 kB / 0.9358 GB, free: 19.62 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.2223, allocations: 162.6 kB / 0.936 GB, free: 19.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2225, allocations: 0.6887 MB / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.947e-05/0.2225, allocations: 4 kB / 0.9367 GB, free: 18.71 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.2226, allocations: 11.44 kB / 0.9367 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of SimCode: time 6.32e-07/0.2226, allocations: 0 / 0.9367 GB, free: 18.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.003694/0.2263, allocations: 0.748 MB / 0.9374 GB, free: 17.95 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)