Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001951/0.001951, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.001379/0.001379, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.689/2.689, allocations: 443.5 MB / 0.7287 GB, free: 13.3 MB / 0.5919 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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.89 kB / 1.056 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9517/0.9537, allocations: 160.7 MB / 1.213 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002208/0.9559, allocations: 0.5986 MB / 1.214 GB, free: 3.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0005342/0.9564, allocations: 161.7 kB / 1.214 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.9565, allocations: 1.125 kB / 1.214 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.9565, allocations: 4 kB / 1.214 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.043e-05/0.9565, allocations: 3.938 kB / 1.214 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.9569, allocations: 38.73 kB / 1.214 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.957, allocations: 10.56 kB / 1.214 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.9571, allocations: 5.891 kB / 1.214 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.756e-05/0.9571, allocations: 11.02 kB / 1.214 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.376e-05/0.9572, allocations: 7.219 kB / 1.214 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.9572, allocations: 1.062 kB / 1.214 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.9573, allocations: 39.39 kB / 1.214 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.9573, allocations: 1.062 kB / 1.214 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.9573, allocations: 18.48 kB / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.9575, allocations: 30.94 kB / 1.214 GB, free: 3.203 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.9575, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9575, allocations: 0.9688 kB / 1.214 GB, free: 3.203 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.9575, allocations: 0 / 1.214 GB, free: 3.203 MB / 0.92 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.0004834/0.958, allocations: 333.3 kB / 1.214 GB, free: 2.836 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.958, allocations: 14.55 kB / 1.214 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.9581, allocations: 31.81 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.9581, allocations: 2.219 kB / 1.214 GB, free: 2.793 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.9583, allocations: 169.4 kB / 1.214 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.9583, allocations: 9.906 kB / 1.214 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.9583, allocations: 6.094 kB / 1.214 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.9584, allocations: 46.52 kB / 1.214 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9584, allocations: 3.938 kB / 1.214 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.9584, allocations: 0 / 1.214 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.9585, allocations: 1.344 kB / 1.214 GB, free: 2.531 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.629e-05/0.9585, allocations: 12.16 kB / 1.214 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.9587, allocations: 163.1 kB / 1.215 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.9588, allocations: 50.47 kB / 1.215 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.9589, allocations: 24.17 kB / 1.215 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.959, allocations: 80.27 kB / 1.215 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.959, allocations: 31.56 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.959, allocations: 0 / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.00144/0.9605, allocations: 492.2 kB / 1.215 GB, free: 1.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.9605, allocations: 56.47 kB / 1.215 GB, free: 1.617 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.9606, allocations: 92.14 kB / 1.215 GB, free: 1.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.9606, allocations: 29.7 kB / 1.215 GB, free: 1.484 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.9607, allocations: 81.3 kB / 1.216 GB, free: 1.402 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.9607, allocations: 25.97 kB / 1.216 GB, free: 1.379 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.9607, allocations: 23.31 kB / 1.216 GB, free: 1.355 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9609, allocations: 316.1 kB / 1.216 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.173e-05/0.9609, allocations: 15.75 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.961, allocations: 27.3 kB / 1.216 GB, free: 1.012 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.377e-05/0.961, allocations: 38.28 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.961, allocations: 0 / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001295/0.9612, allocations: 75.02 kB / 1.216 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.9612, allocations: 5.25 kB / 1.216 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.9612, allocations: 0.9375 kB / 1.216 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.9612, allocations: 0 / 1.216 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.9613, allocations: 15.7 kB / 1.216 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.9613, allocations: 0 / 1.216 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.9613, allocations: 9.156 kB / 1.216 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.9613, allocations: 2.438 kB / 1.216 GB, free: 0.9219 MB / 0.92 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 0.0001279/0.9615, allocations: 107.9 kB / 1.216 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.9615, allocations: 5.156 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.9617, allocations: 83.83 kB / 1.216 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9617, allocations: 1.219 kB / 1.216 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9617, allocations: 1.281 kB / 1.216 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9617, allocations: 4 kB / 1.216 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.9618, allocations: 169.5 kB / 1.216 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.9618, allocations: 0 / 1.216 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-05/0.9619, allocations: 15.62 kB / 1.216 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.9619, allocations: 1.125 kB / 1.216 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.9619, allocations: 0 / 1.216 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.9619, allocations: 5.359 kB / 1.216 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.9619, allocations: 0 / 1.216 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.9621, allocations: 126.3 kB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.9622, allocations: 82.36 kB / 1.217 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.9622, allocations: 0.75 kB / 1.217 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.9623, allocations: 2.312 kB / 1.217 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.9623, allocations: 2.188 kB / 1.217 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.9623, allocations: 10.17 kB / 1.217 GB, free: 312 kB / 0.92 GB Notification: Performance of sorting global known variables: time 3.793e-05/0.9623, allocations: 76.34 kB / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of sort global known variables: time 8e-08/0.9623, allocations: 0 / 1.217 GB, free: 236 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002284/0.9625, allocations: 28.69 kB / 1.217 GB, free: 232 kB / 0.92 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.0006473/0.9632, allocations: 0.6881 MB / 1.217 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.9633, allocations: 42.47 kB / 1.217 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9633, allocations: 0 / 1.217 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.9634, allocations: 25.67 kB / 1.217 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.9635, allocations: 8.688 kB / 1.217 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.9647, allocations: 1.197 MB / 1.219 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.965, allocations: 0.6848 MB / 1.219 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.468e-05/0.965, allocations: 3.906 kB / 1.219 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.9651, allocations: 18.8 kB / 1.219 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.9651, allocations: 1.062 kB / 1.219 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.9904, allocations: 1.842 MB / 1.221 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.986, allocations: 3.75 kB / 1.221 GB, free: 12.69 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.213889271952212]