Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.001782/0.001782, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002282/0.002282, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.069/3.069, allocations: 0.5003 GB / 0.8026 GB, free: 6.695 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 75.89 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279/1.281, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003135/1.285, allocations: 1.47 MB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005241/1.285, allocations: 194 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/1.285, allocations: 1.188 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/1.285, allocations: 4.734 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/1.285, allocations: 0 / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/1.286, allocations: 42.62 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.962e-05/1.286, allocations: 24.11 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/1.286, allocations: 7.734 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/1.286, allocations: 17.36 kB / 1.342 GB, free: 15.04 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/1.286, allocations: 10.06 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/1.286, allocations: 2.094 kB / 1.342 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/1.286, allocations: 33.12 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/1.286, allocations: 6.406 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/1.286, allocations: 11.5 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/1.286, allocations: 45 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.286, allocations: 1.531 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.625e-06/1.286, allocations: 4 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.332e-06/1.286, allocations: 0 / 1.342 GB, free: 14.99 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.0004976/1.287, allocations: 344.6 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.287, allocations: 10.12 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.31e-05/1.287, allocations: 1.094 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/1.287, allocations: 31.55 kB / 1.342 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/1.287, allocations: 7.016 kB / 1.342 GB, free: 14.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/1.287, allocations: 162.6 kB / 1.342 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/1.287, allocations: 5.938 kB / 1.342 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/1.287, allocations: 2.406 kB / 1.342 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/1.287, allocations: 56.59 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/1.287, allocations: 0 / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.287, allocations: 5.25 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/1.287, allocations: 4.641 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/1.287, allocations: 33.02 kB / 1.343 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/1.288, allocations: 252 kB / 1.343 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/1.288, allocations: 35.5 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/1.288, allocations: 24.23 kB / 1.343 GB, free: 14.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.89e-05/1.288, allocations: 84.92 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/1.288, allocations: 35.66 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/1.288, allocations: 3.938 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003903/1.288, allocations: 87.75 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/1.288, allocations: 53.47 kB / 1.343 GB, free: 13.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/1.288, allocations: 102.8 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/1.288, allocations: 29.7 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/1.289, allocations: 81.86 kB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/1.289, allocations: 13.83 kB / 1.343 GB, free: 13.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/1.289, allocations: 16.73 kB / 1.343 GB, free: 13.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.997e-05/1.289, allocations: 313.4 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/1.289, allocations: 13.75 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.198e-05/1.289, allocations: 22.7 kB / 1.344 GB, free: 13.19 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/1.289, allocations: 45.5 kB / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.289, allocations: 0 / 1.344 GB, free: 13.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/1.289, allocations: 63.52 kB / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/1.289, allocations: 6.297 kB / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.289, allocations: 0 / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.289, allocations: 1.094 kB / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/1.289, allocations: 13.34 kB / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.289, allocations: 4.031 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/1.289, allocations: 6.078 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/1.289, allocations: 1.219 kB / 1.344 GB, free: 13.12 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 6.132e-05/1.289, allocations: 115.6 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/1.289, allocations: 3.234 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/1.29, allocations: 71.25 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.29, allocations: 4.031 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.29, allocations: 2.234 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.29, allocations: 0 / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/1.29, allocations: 160.3 kB / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.29, allocations: 0 / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/1.29, allocations: 10.08 kB / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.29, allocations: 0 / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/1.29, allocations: 1.344 kB / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.29, allocations: 0.6094 kB / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.29, allocations: 0 / 1.344 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/1.29, allocations: 174.5 kB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/1.29, allocations: 80.25 kB / 1.344 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/1.29, allocations: 3.938 kB / 1.344 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/1.29, allocations: 6.734 kB / 1.344 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/1.29, allocations: 2.641 kB / 1.344 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/1.29, allocations: 4.281 kB / 1.344 GB, free: 12.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.023e-05/1.29, allocations: 88.91 kB / 1.345 GB, free: 12.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.29, allocations: 2 kB / 1.345 GB, free: 12.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002331/1.291, allocations: 12.3 kB / 1.345 GB, free: 12.42 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.0005007/1.291, allocations: 0.718 MB / 1.345 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002344/1.291, allocations: 34.19 kB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.291, allocations: 1.219 kB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.104e-05/1.291, allocations: 19.47 kB / 1.345 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/1.292, allocations: 11.5 kB / 1.345 GB, free: 11.72 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/1.292, allocations: 151.5 kB / 1.345 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/1.292, allocations: 0.6801 MB / 1.346 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.6e-05/1.292, allocations: 2.016 kB / 1.346 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/1.292, allocations: 9.406 kB / 1.346 GB, free: 10.86 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/1.292, allocations: 0 / 1.346 GB, free: 10.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01815/1.311, allocations: 1.492 MB / 1.348 GB, free: 10.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.267/9.577, allocations: 15.39 kB / 1.348 GB, free: 10.45 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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: 16.43796183296945]