Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.824/2.824, allocations: 496.2 MB / 0.7819 GB, free: 12.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 67.89 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9048/0.907, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002867/0.9098, allocations: 1.457 MB / 1.307 GB, free: 32.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.9107, allocations: 478.8 kB / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.282e-05/0.9107, allocations: 3.938 kB / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.9108, allocations: 4 kB / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.9108, allocations: 6.844 kB / 1.307 GB, free: 32.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.9111, allocations: 24.7 kB / 1.307 GB, free: 32.07 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.9111, allocations: 26.67 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.9112, allocations: 7.422 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.9113, allocations: 9.5 kB / 1.307 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.9114, allocations: 10.33 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.9114, allocations: 2.812 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.799e-05/0.9115, allocations: 15.67 kB / 1.307 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.9115, allocations: 22.28 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.9115, allocations: 4 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.9116, allocations: 36.56 kB / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9116, allocations: 0 / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.694e-06/0.9116, allocations: 0 / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.9116, allocations: 0 / 1.307 GB, free: 32.01 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000519/0.9122, allocations: 340.6 kB / 1.308 GB, free: 31.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.9122, allocations: 9.125 kB / 1.308 GB, free: 31.65 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.9122, allocations: 4.891 kB / 1.308 GB, free: 31.65 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.9124, allocations: 178.3 kB / 1.308 GB, free: 31.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.9124, allocations: 384 / 1.308 GB, free: 31.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.9124, allocations: 7.312 kB / 1.308 GB, free: 31.44 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.9126, allocations: 56.09 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.9126, allocations: 0 / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.9126, allocations: 0 / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.9126, allocations: 0 / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.9128, allocations: 38.38 kB / 1.308 GB, free: 31.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003428/0.9131, allocations: 254.6 kB / 1.308 GB, free: 31.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.9132, allocations: 33.5 kB / 1.308 GB, free: 31.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.9133, allocations: 24.59 kB / 1.308 GB, free: 31.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.9134, allocations: 84.09 kB / 1.308 GB, free: 30.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.9134, allocations: 40.83 kB / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.9134, allocations: 0 / 1.308 GB, free: 30.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003433/0.9138, allocations: 85.81 kB / 1.309 GB, free: 30.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.9138, allocations: 51.41 kB / 1.309 GB, free: 30.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.942e-05/0.9139, allocations: 103 kB / 1.309 GB, free: 30.72 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.9139, allocations: 25.7 kB / 1.309 GB, free: 30.69 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.687e-05/0.9139, allocations: 87.05 kB / 1.309 GB, free: 30.6 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.9139, allocations: 7.953 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.901e-05/0.914, allocations: 15.98 kB / 1.309 GB, free: 30.58 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.914, allocations: 310.8 kB / 1.309 GB, free: 30.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.9141, allocations: 16.38 kB / 1.309 GB, free: 30.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-05/0.9141, allocations: 21.89 kB / 1.309 GB, free: 30.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.9143, allocations: 52.33 kB / 1.309 GB, free: 30.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.9143, allocations: 256 / 1.309 GB, free: 30.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001546/0.9144, allocations: 65.52 kB / 1.309 GB, free: 30.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.9144, allocations: 2.656 kB / 1.309 GB, free: 30.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.9144, allocations: 7.062 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.9145, allocations: 0 / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.9145, allocations: 13.2 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.9145, allocations: 0 / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.9146, allocations: 6.078 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.9146, allocations: 0 / 1.309 GB, free: 30.19 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.247e-05/0.9146, allocations: 112.8 kB / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.9147, allocations: 6.953 kB / 1.309 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.9149, allocations: 78.28 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.9149, allocations: 3.938 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.9149, allocations: 2.938 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.9149, allocations: 0 / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.915, allocations: 158.9 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.915, allocations: 2.688 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.9151, allocations: 9.562 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.9151, allocations: 0 / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.9151, allocations: 0 / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9151, allocations: 0 / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9151, allocations: 0 / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.9153, allocations: 174.5 kB / 1.31 GB, free: 29.67 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.09e-05/0.9153, allocations: 77.11 kB / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.9153, allocations: 0 / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.931e-05/0.9154, allocations: 6.344 kB / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.9154, allocations: 6.688 kB / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.9154, allocations: 4.031 kB / 1.31 GB, free: 29.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.41e-05/0.9155, allocations: 84.42 kB / 1.31 GB, free: 29.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.9155, allocations: 0 / 1.31 GB, free: 29.49 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002242/0.9157, allocations: 10.22 kB / 1.31 GB, free: 29.49 MB / 1.061 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 (2): * Single equations (assignments): 2 * 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.0001432/0.9158, allocations: 95.19 kB / 1.31 GB, free: 29.4 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.916, allocations: 43.02 kB / 1.31 GB, free: 29.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.916, allocations: 4.062 kB / 1.31 GB, free: 29.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.9161, allocations: 18.3 kB / 1.31 GB, free: 29.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.9164, allocations: 15.66 kB / 1.31 GB, free: 29.38 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.9167, allocations: 122.9 kB / 1.31 GB, free: 29.26 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.9168, allocations: 0.6753 MB / 1.311 GB, free: 28.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.658e-05/0.9169, allocations: 3 kB / 1.311 GB, free: 28.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.029e-05/0.9169, allocations: 11.5 kB / 1.311 GB, free: 28.55 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.9169, allocations: 0 / 1.311 GB, free: 28.55 MB / 1.061 GB Notification: Performance of Templates: time 0.002978/0.9199, allocations: 0.5765 MB / 1.312 GB, free: 28.47 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.840079615823925]