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.Continuous.Sources.Validation.Constant.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.358/2.358, allocations: 254.9 MB / 269.9 MB, free: 9.652 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.001377/0.001377, allocations: 188.2 kB / 329.5 MB, free: 1.184 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.612/2.612, allocations: 225.6 MB / 0.6001 GB, free: 2.133 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.001017/0.001017, allocations: 103.2 kB / 0.7074 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005007, allocations: 16.59 kB / 0.8243 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2107, allocations: 109.1 MB / 0.9308 GB, free: 25.06 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.0007454/0.2115, allocations: 322.5 kB / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 3.432e-05/0.2115, allocations: 0 / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.2115, allocations: 0 / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.204e-05/0.2116, allocations: 0 / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.957e-05/0.2116, allocations: 0 / 0.9311 GB, free: 24.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.717e-05/0.2116, allocations: 8 kB / 0.9311 GB, free: 24.74 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.59e-05/0.2117, allocations: 7.938 kB / 0.9311 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.2118, allocations: 0 / 0.9311 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 1.268e-05/0.2118, allocations: 0 / 0.9311 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.756e-05/0.2118, allocations: 0 / 0.9311 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.2118, allocations: 0 / 0.9311 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-06/0.2118, allocations: 0 / 0.9311 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.2119, allocations: 0 / 0.9311 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.2119, allocations: 25.7 kB / 0.9311 GB, free: 24.7 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 4.08e-05/0.2119, allocations: 11.98 kB / 0.9312 GB, free: 24.69 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2119, allocations: 0 / 0.9312 GB, free: 24.69 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.194e-06/0.212, allocations: 4 kB / 0.9312 GB, free: 24.69 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.212, allocations: 0 / 0.9312 GB, free: 24.69 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002142/0.2122, allocations: 311.5 kB / 0.9315 GB, free: 24.33 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2122, allocations: 12.09 kB / 0.9315 GB, free: 24.32 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.2123, allocations: 0.9375 kB / 0.9315 GB, free: 24.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.278e-05/0.2124, allocations: 164.4 kB / 0.9316 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2124, allocations: 384 / 0.9316 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.2124, allocations: 384 / 0.9316 GB, free: 24.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.075e-05/0.2125, allocations: 38.2 kB / 0.9317 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2125, allocations: 4.125 kB / 0.9317 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2125, allocations: 3.938 kB / 0.9317 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2125, allocations: 0 / 0.9317 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.515e-05/0.2126, allocations: 3.938 kB / 0.9317 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.2128, allocations: 383.5 kB / 0.932 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.765e-05/0.2129, allocations: 177 kB / 0.9322 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.2129, allocations: 84.17 kB / 0.9323 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2129, allocations: 75.28 kB / 0.9324 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.213, allocations: 109.8 kB / 0.9325 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.213, allocations: 0 / 0.9325 GB, free: 23.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.75e-05/0.2131, allocations: 25.7 kB / 0.9325 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.2131, allocations: 130.7 kB / 0.9326 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.2132, allocations: 101.8 kB / 0.9327 GB, free: 22.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.2132, allocations: 25.7 kB / 0.9327 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.096e-05/0.2133, allocations: 88.14 kB / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-06/0.2133, allocations: 0 / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-07/0.2133, allocations: 0 / 0.9328 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.765e-05/0.2133, allocations: 314.8 kB / 0.9331 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-06/0.2134, allocations: 0 / 0.9331 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-06/0.2134, allocations: 128 / 0.9331 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.638e-05/0.2134, allocations: 79.28 kB / 0.9332 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.2134, allocations: 75.28 kB / 0.9333 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.734e-05/0.2135, allocations: 33.64 kB / 0.9333 GB, free: 22.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.2135, allocations: 79.28 kB / 0.9334 GB, free: 22.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.2135, allocations: 83.2 kB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/0.2136, allocations: 150.6 kB / 0.9336 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.59e-05/0.2136, allocations: 79.28 kB / 0.9337 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.852e-05/0.2136, allocations: 162.5 kB / 0.9338 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.2137, allocations: 75.28 kB / 0.9339 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2137, allocations: 79.22 kB / 0.934 GB, free: 21.57 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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 7.219e-05/0.2138, allocations: 266.1 kB / 0.9342 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.2139, allocations: 105 kB / 0.9343 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.383e-05/0.2139, allocations: 116 kB / 0.9344 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/0.214, allocations: 184.3 kB / 0.9346 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.492e-05/0.214, allocations: 176.3 kB / 0.9348 GB, free: 20.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/0.2141, allocations: 180.2 kB / 0.935 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.2142, allocations: 409.1 kB / 0.9353 GB, free: 20.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.092e-05/0.2143, allocations: 112.9 kB / 0.9355 GB, free: 19.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.2143, allocations: 101 kB / 0.9355 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-05/0.2143, allocations: 184.2 kB / 0.9357 GB, free: 19.65 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.2144, allocations: 184.5 kB / 0.9359 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.031e-05/0.2144, allocations: 176.3 kB / 0.9361 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.273e-05/0.2144, allocations: 184.2 kB / 0.9362 GB, free: 19.09 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.686e-05/0.2145, allocations: 315.8 kB / 0.9365 GB, free: 18.76 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.2146, allocations: 182 kB / 0.9367 GB, free: 18.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.2147, allocations: 184.2 kB / 0.9369 GB, free: 18.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.474e-05/0.2147, allocations: 104.9 kB / 0.937 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2148, allocations: 184.3 kB / 0.9372 GB, free: 18.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.2148, allocations: 105 kB / 0.9373 GB, free: 17.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.2149, allocations: 79.28 kB / 0.9373 GB, free: 17.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2149, allocations: 3.938 kB / 0.9374 GB, free: 17.88 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002987/0.2152, allocations: 0 / 0.9374 GB, free: 17.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: 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 (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.0001272/0.2153, allocations: 178.5 kB / 0.9375 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 3.995e-05/0.2154, allocations: 4.094 kB / 0.9375 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2154, allocations: 0 / 0.9375 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.2154, allocations: 0 / 0.9375 GB, free: 17.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.2157, allocations: 0.5263 MB / 0.938 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001941/0.2159, allocations: 155.6 kB / 0.9382 GB, free: 16.98 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.2161, allocations: 0.6731 MB / 0.9388 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.007e-05/0.2161, allocations: 0 / 0.9388 GB, free: 16.29 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.2161, allocations: 11.38 kB / 0.9389 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.2161, allocations: 3.938 kB / 0.9389 GB, free: 16.27 MB / 0.5886 GB Notification: Performance of Templates: time 0.002104/0.2182, allocations: 160 kB / 0.939 GB, free: 16.11 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1)