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.0008213/0.0008213, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009458/0.0009458, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9157/0.9157, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.795/1.795, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.243e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001848/0.00187, allocations: 1.462 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003331/0.002203, allocations: 187.4 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.002235, allocations: 0 / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.002262, allocations: 3.938 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.002301, allocations: 3.938 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.002557, allocations: 39.83 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.002618, allocations: 27.92 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.09e-05/0.002699, allocations: 0 / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.444e-05/0.002744, allocations: 11.98 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.151e-05/0.002775, allocations: 11.98 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.002791, allocations: 4 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.377e-05/0.002875, allocations: 35.95 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.00289, allocations: 7.938 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.583e-05/0.002905, allocations: 7.938 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003018, allocations: 51.86 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003021, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.322e-06/0.003022, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003026, allocations: 0 / 1.001 GB, free: 11.65 MB / 0.9636 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.0003285/0.003354, allocations: 266.3 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.003391, allocations: 8.75 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.788e-05/0.003419, allocations: 34.75 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.942e-05/0.003438, allocations: 12.86 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.368e-05/0.003512, allocations: 109.8 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.003521, allocations: 384 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.003529, allocations: 384 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.003651, allocations: 50.23 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.003658, allocations: 192 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.003666, allocations: 4.375 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.003673, allocations: 4.125 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.059e-05/0.003763, allocations: 39.91 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.004051, allocations: 220 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.683e-05/0.004128, allocations: 34.56 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.631e-05/0.004174, allocations: 25.67 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.004225, allocations: 4 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.004244, allocations: 34.5 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.004245, allocations: 0 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002172/0.004463, allocations: 89.58 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.00449, allocations: 51.41 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.004546, allocations: 105.8 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.004555, allocations: 29.64 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.004588, allocations: 84.14 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.004603, allocations: 7.953 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.004625, allocations: 9.719 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.004699, allocations: 322.8 kB / 1.003 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.004776, allocations: 16.11 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.952e-05/0.004825, allocations: 15.98 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.45e-05/0.00492, allocations: 40.77 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.004922, allocations: 0 / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001073/0.005029, allocations: 73.55 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.005041, allocations: 9.969 kB / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005045, allocations: 0 / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.005056, allocations: 0 / 1.003 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.005115, allocations: 15.97 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.005119, allocations: 0 / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.005142, allocations: 7.984 kB / 1.003 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.005146, allocations: 0 / 1.003 GB, free: 9.762 MB / 0.9636 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.354e-05/0.0052, allocations: 117.8 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.005213, allocations: 3.938 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.005346, allocations: 76.91 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005348, allocations: 0 / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.005352, allocations: 0 / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.005355, allocations: 0 / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.974e-05/0.005454, allocations: 124.8 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.005455, allocations: 4 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.005481, allocations: 11.98 kB / 1.003 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.005484, allocations: 3.938 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.00549, allocations: 0 / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.005491, allocations: 4.281 kB / 1.003 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005491, allocations: 4 kB / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.005613, allocations: 159.5 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.00562, allocations: 11.89 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.005629, allocations: 0 / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.263e-05/0.005671, allocations: 7.984 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.005702, allocations: 8 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005704, allocations: 0 / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.815e-05/0.005732, allocations: 87.3 kB / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005733, allocations: 0 / 1.004 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001615/0.005894, allocations: 8 kB / 1.004 GB, free: 9.062 MB / 0.9636 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.0003457/0.00624, allocations: 0.7045 MB / 1.004 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.006364, allocations: 39.89 kB / 1.004 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006365, allocations: 8.094 kB / 1.004 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.016e-05/0.006405, allocations: 19.92 kB / 1.004 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.006607, allocations: 4 kB / 1.004 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.006927, allocations: 138.6 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.931e-05/0.006966, allocations: 55.36 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.006985, allocations: 3.984 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.007015, allocations: 16.48 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of SimCode: time 2.81e-07/0.007015, allocations: 4.062 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.02274, allocations: 2.117 MB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.969, allocations: 11.97 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.10190499201417]