Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.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.001476/0.001476, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.001401/0.001401, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 443.5 MB / 0.7287 GB, free: 14.69 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 63.89 kB / 1.056 GB, free: 2.609 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3582, allocations: 160.7 MB / 1.213 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003968/0.3622, allocations: 1.458 MB / 1.214 GB, free: 108 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3636, allocations: 0.5703 MB / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.3636, allocations: 0 / 1.215 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.431e-05/0.3637, allocations: 3.938 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.3637, allocations: 11.92 kB / 1.215 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003354/0.3641, allocations: 43.83 kB / 1.215 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.3642, allocations: 27.92 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3643, allocations: 4 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3644, allocations: 19.92 kB / 1.215 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.3645, allocations: 15.91 kB / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3645, allocations: 4 kB / 1.215 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.3646, allocations: 51.97 kB / 1.215 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.3647, allocations: 7.984 kB / 1.215 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.3647, allocations: 11.88 kB / 1.215 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.3649, allocations: 68.02 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3649, allocations: 0 / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3649, allocations: 0 / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.3649, allocations: 3.938 kB / 1.215 GB, free: 15.26 MB / 0.9669 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.0005921/0.3655, allocations: 359.2 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3656, allocations: 8.031 kB / 1.216 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.3656, allocations: 30.75 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.3656, allocations: 8.938 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.3658, allocations: 164.3 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.3658, allocations: 12.31 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.3659, allocations: 384 / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.366, allocations: 49.8 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3661, allocations: 0 / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3661, allocations: 4 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3661, allocations: 0 / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3662, allocations: 23.92 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.3666, allocations: 256.9 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3668, allocations: 26.58 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.3668, allocations: 16.91 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/0.368, allocations: 473.4 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.368, allocations: 34.55 kB / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/0.368, allocations: 0 / 1.217 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003825/0.3684, allocations: 73.58 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3685, allocations: 55.34 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.3686, allocations: 109.8 kB / 1.217 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3686, allocations: 25.7 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.3687, allocations: 92.12 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3687, allocations: 3.953 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.3687, allocations: 17.72 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.3689, allocations: 318.9 kB / 1.217 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.369, allocations: 11.98 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.505e-05/0.369, allocations: 8 kB / 1.217 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.3691, allocations: 28.78 kB / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3691, allocations: 0 / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001744/0.3693, allocations: 53.67 kB / 1.217 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.3693, allocations: 12.09 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3693, allocations: 0 / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3694, allocations: 0 / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.3695, allocations: 4 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.3695, allocations: 0 / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.3695, allocations: 11.98 kB / 1.217 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3695, allocations: 0 / 1.217 GB, free: 12.69 MB / 0.9669 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.0001135/0.3696, allocations: 109.8 kB / 1.217 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.3697, allocations: 7.953 kB / 1.217 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.3699, allocations: 73.08 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3699, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3699, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3699, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002733/0.3702, allocations: 169.6 kB / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3702, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.3702, allocations: 4 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3702, allocations: 3.938 kB / 1.218 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3702, allocations: 4 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3702, allocations: 4.031 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3702, allocations: 0 / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3705, allocations: 159.4 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.3706, allocations: 81.06 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.3706, allocations: 0 / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/0.3707, allocations: 4 kB / 1.218 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.3707, allocations: 7.922 kB / 1.218 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3707, allocations: 4.031 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.469e-05/0.3708, allocations: 91.28 kB / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3708, allocations: 0 / 1.218 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003656/0.3712, allocations: 15.98 kB / 1.218 GB, free: 11.86 MB / 0.9669 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.000682/0.3718, allocations: 0.7007 MB / 1.219 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.372, allocations: 23.92 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.372, allocations: 0 / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.273e-05/0.3721, allocations: 15.98 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.3724, allocations: 4 kB / 1.219 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.3731, allocations: 160.1 kB / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004733/0.3736, allocations: 0.6808 MB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.7e-05/0.3736, allocations: 7.906 kB / 1.22 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.3737, allocations: 11.44 kB / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.3737, allocations: 0 / 1.22 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03186/0.4055, allocations: 1.625 MB / 1.221 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.835, allocations: 3.328 kB / 1.221 GB, free: 8.621 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.561948596034199]