Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.888/0.888, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.67/1.67, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.9517 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.117e-05, allocations: 10.22 kB / 0.9517 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001742/0.001763, allocations: 1.455 MB / 0.9532 GB, free: 388 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006317/0.002395, allocations: 487.4 kB / 0.9536 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.002426, allocations: 0 / 0.9536 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.002455, allocations: 3.938 kB / 0.9536 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.002524, allocations: 7.938 kB / 0.9536 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.002729, allocations: 19.92 kB / 0.9537 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.002791, allocations: 23.92 kB / 0.9537 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.983e-05/0.002881, allocations: 7.938 kB / 0.9537 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.002953, allocations: 19.97 kB / 0.9537 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.235e-05/0.002986, allocations: 7.984 kB / 0.9537 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.002998, allocations: 4 kB / 0.9537 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.538e-05/0.003054, allocations: 16 kB / 0.9537 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.003071, allocations: 7.922 kB / 0.9537 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.00309, allocations: 4 kB / 0.9537 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.003188, allocations: 39.83 kB / 0.9538 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003191, allocations: 3.984 kB / 0.9538 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.233e-06/0.003192, allocations: 0 / 0.9538 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003196, allocations: 0 / 0.9538 GB, free: 15.73 MB / 0.8698 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.0003328/0.003529, allocations: 266.3 kB / 0.954 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.003566, allocations: 12.03 kB / 0.954 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.003594, allocations: 8.891 kB / 0.9541 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.058e-05/0.003674, allocations: 109.7 kB / 0.9542 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.003684, allocations: 384 / 0.9542 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.003693, allocations: 4.375 kB / 0.9542 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.003813, allocations: 50.23 kB / 0.9542 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.00382, allocations: 192 / 0.9542 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.003829, allocations: 4.359 kB / 0.9542 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.003833, allocations: 3.938 kB / 0.9542 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.733e-05/0.003921, allocations: 43.89 kB / 0.9543 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.00416, allocations: 188.6 kB / 0.9544 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.398e-05/0.004234, allocations: 38.55 kB / 0.9545 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.549e-05/0.00428, allocations: 24.91 kB / 0.9545 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.834e-05/0.004348, allocations: 4 kB / 0.9545 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.004368, allocations: 34.5 kB / 0.9545 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.004369, allocations: 0 / 0.9545 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002212/0.00459, allocations: 89.58 kB / 0.9546 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.004618, allocations: 51.41 kB / 0.9547 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.004676, allocations: 109.8 kB / 0.9548 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.004686, allocations: 25.7 kB / 0.9548 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.004724, allocations: 84.09 kB / 0.9549 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.004739, allocations: 7.953 kB / 0.9549 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.004762, allocations: 13.72 kB / 0.9549 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.004844, allocations: 314.8 kB / 0.9552 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.004886, allocations: 24.11 kB / 0.9552 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.004919, allocations: 12 kB / 0.9552 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.566e-05/0.004995, allocations: 48.75 kB / 0.9553 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.004997, allocations: 3.938 kB / 0.9553 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.587e-05/0.005092, allocations: 65.73 kB / 0.9554 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.005105, allocations: 10.28 kB / 0.9554 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.005109, allocations: 0 / 0.9554 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005119, allocations: 0 / 0.9554 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.817e-05/0.005177, allocations: 11.98 kB / 0.9554 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.005182, allocations: 0 / 0.9554 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.005204, allocations: 7.984 kB / 0.9554 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.005208, allocations: 0 / 0.9554 GB, free: 13.93 MB / 0.8698 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.121e-05/0.00526, allocations: 113.8 kB / 0.9555 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.005271, allocations: 7.875 kB / 0.9555 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.005403, allocations: 84.92 kB / 0.9556 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.005405, allocations: 0 / 0.9556 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.005409, allocations: 0 / 0.9556 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.005413, allocations: 3.984 kB / 0.9556 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.428e-05/0.005497, allocations: 101.3 kB / 0.9557 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.005498, allocations: 0 / 0.9557 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.00552, allocations: 11.98 kB / 0.9557 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.005522, allocations: 0 / 0.9557 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.00553, allocations: 7.969 kB / 0.9557 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005531, allocations: 0 / 0.9557 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.005532, allocations: 0 / 0.9557 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.005655, allocations: 175.4 kB / 0.9559 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.00566, allocations: 0 / 0.9559 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.005671, allocations: 3.938 kB / 0.9559 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.503e-05/0.005706, allocations: 7.984 kB / 0.9559 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.005739, allocations: 256 / 0.9559 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.005742, allocations: 4 kB / 0.9559 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.105e-05/0.005773, allocations: 95.3 kB / 0.956 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005773, allocations: 0 / 0.956 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001472/0.00592, allocations: 4 kB / 0.956 GB, free: 13.25 MB / 0.8698 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.0001102/0.006031, allocations: 99.23 kB / 0.9561 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000122/0.006153, allocations: 39.95 kB / 0.9561 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006154, allocations: 0 / 0.9561 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.006194, allocations: 24.05 kB / 0.9561 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.006377, allocations: 3.938 kB / 0.9561 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.006616, allocations: 134.5 kB / 0.9563 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.148e-05/0.006657, allocations: 63.34 kB / 0.9563 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.006677, allocations: 8.5 kB / 0.9563 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/0.006677, allocations: 0 / 0.9563 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of Templates: time 0.001561/0.008238, allocations: 0.6643 MB / 0.957 GB, free: 12.17 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.2323327995836735]