Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.002481/0.002481, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.003029/0.003029, allocations: 157.3 kB / 23.55 MB, free: 0.875 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 1.569/1.569, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.232/3.232, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8108 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.736e-05, allocations: 3.312 kB / 0.8108 GB, free: 1.922 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002879/0.002907, allocations: 1.499 MB / 0.8123 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.004399, allocations: 0.5976 MB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/0.004451, allocations: 1.688 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.004477, allocations: 3.938 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/0.004537, allocations: 7.875 kB / 0.8129 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.004849, allocations: 57.16 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.004961, allocations: 35.8 kB / 0.813 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.005045, allocations: 4 kB / 0.813 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.00519, allocations: 23.97 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.005241, allocations: 13.52 kB / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.005256, allocations: 0 / 0.813 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.005391, allocations: 59.89 kB / 0.8131 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.005407, allocations: 7.984 kB / 0.8131 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.269e-05/0.00543, allocations: 8.656 kB / 0.8131 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.005614, allocations: 75.83 kB / 0.8131 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.005619, allocations: 4.531 kB / 0.8131 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.91e-07/0.00562, allocations: 1.656 kB / 0.8131 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.005624, allocations: 0 / 0.8131 GB, free: 15.55 MB / 0.7761 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.0005234/0.006148, allocations: 372.1 kB / 0.8135 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.006185, allocations: 15.97 kB / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.006342, allocations: 17.53 kB / 0.8135 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.006522, allocations: 125.7 kB / 0.8137 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.006532, allocations: 4.312 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.006549, allocations: 4.375 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.006672, allocations: 39.41 kB / 0.8137 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.006683, allocations: 4.188 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.006691, allocations: 384 / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.006698, allocations: 3.938 kB / 0.8137 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.006775, allocations: 17.36 kB / 0.8137 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.007113, allocations: 251.8 kB / 0.814 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.007215, allocations: 40.8 kB / 0.814 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.007265, allocations: 19.75 kB / 0.814 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005611/0.007826, allocations: 77.67 kB / 0.8141 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.00787, allocations: 41.33 kB / 0.8141 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.007871, allocations: 0 / 0.8141 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002394/0.00811, allocations: 58.44 kB / 0.8142 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.008161, allocations: 53.72 kB / 0.8142 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.008304, allocations: 173.9 kB / 0.8144 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.008323, allocations: 25.7 kB / 0.8144 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.008407, allocations: 138.9 kB / 0.8146 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.008432, allocations: 15.88 kB / 0.8146 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.008479, allocations: 19.38 kB / 0.8146 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002571/0.008736, allocations: 0.4904 MB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.008775, allocations: 7.984 kB / 0.8151 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.9e-05/0.008804, allocations: 8 kB / 0.8151 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.008883, allocations: 32.11 kB / 0.8151 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.008885, allocations: 0 / 0.8151 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001176/0.009002, allocations: 52.06 kB / 0.8152 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.00902, allocations: 11.92 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.009023, allocations: 0 / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.009035, allocations: 0 / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.009095, allocations: 4 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.0091, allocations: 2.406 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.009125, allocations: 4 kB / 0.8152 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.009131, allocations: 0 / 0.8152 GB, free: 13.26 MB / 0.7761 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 0.0001139/0.009244, allocations: 160.6 kB / 0.8153 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.009272, allocations: 7.922 kB / 0.8154 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.009444, allocations: 62.36 kB / 0.8154 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.009448, allocations: 7.922 kB / 0.8154 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.00945, allocations: 0 / 0.8154 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.009452, allocations: 0.5625 kB / 0.8154 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.009614, allocations: 128.6 kB / 0.8155 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009615, allocations: 0.7812 kB / 0.8155 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.009655, allocations: 7.984 kB / 0.8156 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.009657, allocations: 0.8438 kB / 0.8156 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.009668, allocations: 7.938 kB / 0.8156 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009669, allocations: 3.562 kB / 0.8156 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.00967, allocations: 0 / 0.8156 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.009879, allocations: 195.9 kB / 0.8158 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.009893, allocations: 11.95 kB / 0.8158 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.009907, allocations: 3.938 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.00996, allocations: 0 / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.009997, allocations: 3.984 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.01, allocations: 4 kB / 0.8158 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.277e-05/0.01009, allocations: 131.2 kB / 0.8159 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01009, allocations: 2.094 kB / 0.8159 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002347/0.01032, allocations: 19.92 kB / 0.8159 GB, free: 12.46 MB / 0.7761 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.0001811/0.0105, allocations: 107.2 kB / 0.816 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.01064, allocations: 28.64 kB / 0.816 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.01064, allocations: 0 / 0.816 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.793e-05/0.0107, allocations: 28.73 kB / 0.8161 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.0109, allocations: 0 / 0.8161 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.01124, allocations: 139.2 kB / 0.8162 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.281e-05/0.01132, allocations: 64.47 kB / 0.8163 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.01134, allocations: 0 / 0.8163 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.01137, allocations: 13.38 kB / 0.8163 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.01137, allocations: 0 / 0.8163 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.003527/0.0149, allocations: 0.707 MB / 0.817 GB, free: 11.33 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.158504967927001]