Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.001274/0.001274, allocations: 104.5 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.001305/0.001305, 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.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 3.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.868/2.868, allocations: 476.7 MB / 0.7611 GB, free: 15.68 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002877/0.002877, allocations: 67.89 kB / 1.104 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117/1.12, allocations: 168.7 MB / 1.269 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001659/1.122, allocations: 0.6086 MB / 1.269 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003792/1.122, allocations: 160.9 kB / 1.27 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/1.122, allocations: 4.219 kB / 1.27 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/1.122, allocations: 3.938 kB / 1.27 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.422e-05/1.122, allocations: 0 / 1.27 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/1.123, allocations: 39.8 kB / 1.27 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.04e-05/1.123, allocations: 15.22 kB / 1.27 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/1.123, allocations: 2.266 kB / 1.27 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/1.123, allocations: 4.969 kB / 1.27 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/1.123, allocations: 12.83 kB / 1.27 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/1.123, allocations: 4.219 kB / 1.27 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.66e-05/1.123, allocations: 40.86 kB / 1.27 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/1.123, allocations: 1.531 kB / 1.27 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/1.123, allocations: 11.11 kB / 1.27 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/1.123, allocations: 29.06 kB / 1.27 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.123, allocations: 0.6094 kB / 1.27 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/1.123, allocations: 0.75 kB / 1.27 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.789e-06/1.123, allocations: 0 / 1.27 GB, free: 7.391 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003566/1.123, allocations: 342.4 kB / 1.27 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.123, allocations: 9.344 kB / 1.27 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.512e-05/1.123, allocations: 33.7 kB / 1.27 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/1.123, allocations: 5.781 kB / 1.27 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.346e-05/1.124, allocations: 162.6 kB / 1.27 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/1.124, allocations: 5.312 kB / 1.27 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/1.124, allocations: 3.031 kB / 1.27 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/1.124, allocations: 41.95 kB / 1.27 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.124, allocations: 4.844 kB / 1.27 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/1.124, allocations: 4.609 kB / 1.27 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/1.124, allocations: 0.9062 kB / 1.27 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/1.124, allocations: 19.5 kB / 1.27 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/1.124, allocations: 158.7 kB / 1.27 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.31e-05/1.124, allocations: 42.91 kB / 1.27 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/1.124, allocations: 18.89 kB / 1.271 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.988e-05/1.124, allocations: 84.52 kB / 1.271 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/1.124, allocations: 39.94 kB / 1.271 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/1.124, allocations: 0.9062 kB / 1.271 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.001259/1.125, allocations: 492.6 kB / 1.271 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/1.125, allocations: 54 kB / 1.271 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/1.125, allocations: 95.98 kB / 1.271 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/1.125, allocations: 26.77 kB / 1.271 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.517e-05/1.126, allocations: 84.27 kB / 1.271 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/1.126, allocations: 25.27 kB / 1.271 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/1.126, allocations: 24.38 kB / 1.271 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.342e-05/1.126, allocations: 314.4 kB / 1.272 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/1.126, allocations: 12.27 kB / 1.272 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/1.126, allocations: 13.52 kB / 1.272 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/1.126, allocations: 39.95 kB / 1.272 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/1.126, allocations: 0.5156 kB / 1.272 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001066/1.126, allocations: 75.59 kB / 1.272 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.126, allocations: 8.594 kB / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.126, allocations: 1.422 kB / 1.272 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/1.126, allocations: 4.719 kB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.352e-05/1.126, allocations: 13.06 kB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/1.126, allocations: 0.6094 kB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/1.126, allocations: 5.531 kB / 1.272 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/1.126, allocations: 2.219 kB / 1.272 GB, free: 5.203 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 (8): * Single equations (assignments): 8 * 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 4.956e-05/1.126, allocations: 117.3 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/1.126, allocations: 5.625 kB / 1.272 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/1.126, allocations: 84.59 kB / 1.272 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.126, allocations: 1.359 kB / 1.272 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/1.126, allocations: 0.7188 kB / 1.272 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/1.126, allocations: 1.844 kB / 1.272 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.285e-05/1.126, allocations: 171 kB / 1.272 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.126, allocations: 0 / 1.272 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/1.126, allocations: 16.69 kB / 1.272 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.126, allocations: 1.75 kB / 1.272 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.126, allocations: 0.8125 kB / 1.272 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.126, allocations: 9.391 kB / 1.272 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.126, allocations: 3.938 kB / 1.272 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/1.127, allocations: 114.3 kB / 1.272 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/1.127, allocations: 83.06 kB / 1.272 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/1.127, allocations: 2.172 kB / 1.272 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.577e-05/1.127, allocations: 1.797 kB / 1.272 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/1.127, allocations: 9.297 kB / 1.272 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/1.127, allocations: 5.438 kB / 1.272 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.623e-05/1.127, allocations: 77.56 kB / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.127, allocations: 0 / 1.273 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002288/1.127, allocations: 29.27 kB / 1.273 GB, free: 4.531 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0004224/1.127, allocations: 0.6866 MB / 1.273 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001311/1.127, allocations: 39.83 kB / 1.273 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.127, allocations: 0.6562 kB / 1.273 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/1.128, allocations: 19.48 kB / 1.273 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/1.128, allocations: 13.48 kB / 1.273 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008326/1.129, allocations: 1.202 MB / 1.274 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/1.129, allocations: 0.6838 MB / 1.275 GB, free: 18.03 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.708e-05/1.129, allocations: 13.52 kB / 1.275 GB, free: 18.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/1.129, allocations: 17.2 kB / 1.275 GB, free: 18.01 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.129, allocations: 0 / 1.275 GB, free: 18.01 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/1.155, allocations: 1.836 MB / 1.277 GB, free: 17.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/9.343, allocations: 9.438 kB / 1.277 GB, free: 17.62 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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: 15.535566410981119]