Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001994/0.001994, 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.001855/0.001855, 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.605/1.605, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.852/2.852, allocations: 476.7 MB / 0.7678 GB, free: 9.449 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_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.002152/0.002152, allocations: 63.89 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002946/1.042, allocations: 1.467 MB / 1.28 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004402/1.042, allocations: 201.2 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/1.042, allocations: 0.9688 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/1.042, allocations: 8.688 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.038e-05/1.042, allocations: 0.9688 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/1.042, allocations: 37.16 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.87e-05/1.043, allocations: 25.11 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/1.043, allocations: 3.594 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.902e-05/1.043, allocations: 12.84 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.089e-05/1.043, allocations: 10.48 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/1.043, allocations: 6.375 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.26e-05/1.043, allocations: 36.92 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/1.043, allocations: 10.84 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/1.043, allocations: 11.08 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/1.043, allocations: 45.23 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.043, allocations: 1.062 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/1.043, allocations: 0 / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.297e-06/1.043, allocations: 0 / 1.281 GB, free: 10.5 MB / 0.9981 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.000528/1.044, allocations: 344.1 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/1.044, allocations: 9.562 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.388e-05/1.044, allocations: 4.188 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/1.044, allocations: 32.64 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.197e-05/1.044, allocations: 2.062 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/1.044, allocations: 167.6 kB / 1.281 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/1.044, allocations: 2.25 kB / 1.281 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/1.044, allocations: 5.406 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/1.044, allocations: 48.89 kB / 1.281 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/1.044, allocations: 3.938 kB / 1.281 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/1.044, allocations: 4 kB / 1.281 GB, free: 9.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/1.044, allocations: 8.922 kB / 1.281 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/1.044, allocations: 33.86 kB / 1.281 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/1.045, allocations: 247.7 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/1.045, allocations: 36.52 kB / 1.282 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.524e-05/1.045, allocations: 26.56 kB / 1.282 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/1.045, allocations: 81.92 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/1.045, allocations: 35.62 kB / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/1.045, allocations: 0 / 1.282 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003621/1.045, allocations: 80.45 kB / 1.282 GB, free: 9.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/1.045, allocations: 53.08 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/1.045, allocations: 114.3 kB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/1.045, allocations: 25.7 kB / 1.282 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/1.045, allocations: 82.16 kB / 1.282 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/1.045, allocations: 9.609 kB / 1.282 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/1.046, allocations: 17.28 kB / 1.282 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.046, allocations: 312.4 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/1.046, allocations: 18.2 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/1.046, allocations: 22.83 kB / 1.283 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/1.046, allocations: 41.08 kB / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.046, allocations: 0 / 1.283 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000219/1.046, allocations: 71.94 kB / 1.283 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.046, allocations: 11.81 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/1.046, allocations: 0.5 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.046, allocations: 1.125 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/1.046, allocations: 8.469 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/1.046, allocations: 0.75 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/1.046, allocations: 7.031 kB / 1.283 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/1.046, allocations: 4.5 kB / 1.283 GB, free: 8.633 MB / 0.9981 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 8.328e-05/1.047, allocations: 118.8 kB / 1.283 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/1.047, allocations: 5.188 kB / 1.283 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/1.047, allocations: 72.34 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.047, allocations: 0.5625 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.047, allocations: 1.203 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.047, allocations: 0.5 kB / 1.283 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/1.047, allocations: 160.4 kB / 1.283 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.047, allocations: 0.5938 kB / 1.283 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/1.047, allocations: 8.656 kB / 1.283 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/1.047, allocations: 4.531 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/1.047, allocations: 1.062 kB / 1.283 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.047, allocations: 4.516 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.047, allocations: 0.5 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/1.047, allocations: 167 kB / 1.283 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/1.047, allocations: 82.77 kB / 1.283 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/1.047, allocations: 5.734 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.842e-05/1.047, allocations: 6.062 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/1.047, allocations: 2.156 kB / 1.283 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/1.048, allocations: 5.688 kB / 1.283 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.979e-05/1.048, allocations: 84.56 kB / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.048, allocations: 0 / 1.283 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002363/1.048, allocations: 10.06 kB / 1.283 GB, free: 7.93 MB / 0.9981 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.0006558/1.048, allocations: 0.7182 MB / 1.284 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002185/1.049, allocations: 36.02 kB / 1.284 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.049, allocations: 0 / 1.284 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.76e-05/1.049, allocations: 23.67 kB / 1.284 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/1.049, allocations: 3.062 kB / 1.284 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/1.049, allocations: 144.3 kB / 1.284 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.05, allocations: 0.6764 MB / 1.285 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.151e-05/1.05, allocations: 5.281 kB / 1.285 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/1.05, allocations: 9.766 kB / 1.285 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/1.05, allocations: 4.062 kB / 1.285 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/1.07, allocations: 1.504 MB / 1.286 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/9.568, allocations: 6.547 kB / 1.286 GB, free: 5.953 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.15127097297227]