Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.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.001644/0.001644, allocations: 108.2 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.001875/0.001875, 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.5/1.5, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.594/2.594, allocations: 443.5 MB / 0.7287 GB, free: 13.25 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.Examples.SmoothExponential,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 79.86 kB / 1.056 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7752, allocations: 160.7 MB / 1.213 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002744/0.7779, allocations: 1.438 MB / 1.214 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004217/0.7784, allocations: 204 kB / 1.215 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.7784, allocations: 0 / 1.215 GB, free: 2.621 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.7784, allocations: 4.969 kB / 1.215 GB, free: 2.617 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.564e-05/0.7785, allocations: 3.938 kB / 1.215 GB, free: 2.613 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.7787, allocations: 36.53 kB / 1.215 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.7788, allocations: 26.09 kB / 1.215 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.7789, allocations: 10.14 kB / 1.215 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.564e-05/0.7789, allocations: 7.219 kB / 1.215 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.543e-05/0.7789, allocations: 11.52 kB / 1.215 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.7789, allocations: 1.812 kB / 1.215 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.154e-05/0.779, allocations: 32.66 kB / 1.215 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.779, allocations: 9.125 kB / 1.215 GB, free: 2.535 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.7791, allocations: 14.17 kB / 1.215 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.7792, allocations: 43.8 kB / 1.215 GB, free: 2.492 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7792, allocations: 1.094 kB / 1.215 GB, free: 2.492 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7792, allocations: 3.938 kB / 1.215 GB, free: 2.488 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7792, allocations: 0 / 1.215 GB, free: 2.488 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004582/0.7796, allocations: 343.6 kB / 1.215 GB, free: 2.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.7797, allocations: 12.94 kB / 1.215 GB, free: 2.113 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.7797, allocations: 35.75 kB / 1.215 GB, free: 2.07 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.7797, allocations: 6.016 kB / 1.215 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.7799, allocations: 170.5 kB / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.7799, allocations: 1.5 kB / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.7799, allocations: 1.562 kB / 1.215 GB, free: 1.863 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.7801, allocations: 45.72 kB / 1.215 GB, free: 1.824 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7801, allocations: 7.922 kB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.7801, allocations: 0 / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7801, allocations: 1 kB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.7802, allocations: 39.09 kB / 1.215 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.7806, allocations: 252.8 kB / 1.216 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.7807, allocations: 39.78 kB / 1.216 GB, free: 1.473 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/0.7808, allocations: 17.56 kB / 1.216 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-05/0.7809, allocations: 83.47 kB / 1.216 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.7809, allocations: 35.81 kB / 1.216 GB, free: 1.32 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7809, allocations: 0 / 1.216 GB, free: 1.32 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003461/0.7813, allocations: 90.12 kB / 1.216 GB, free: 1.258 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.7813, allocations: 51.41 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.7814, allocations: 99.89 kB / 1.216 GB, free: 1.094 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.7814, allocations: 31.02 kB / 1.216 GB, free: 1.059 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.7815, allocations: 89.03 kB / 1.216 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.7815, allocations: 12.81 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.7815, allocations: 11.94 kB / 1.216 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.7816, allocations: 316.1 kB / 1.216 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/0.7817, allocations: 13.39 kB / 1.216 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/0.7818, allocations: 21.91 kB / 1.216 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.7819, allocations: 39.39 kB / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.7819, allocations: 3.938 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.7821, allocations: 69.16 kB / 1.217 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.7821, allocations: 5.281 kB / 1.217 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7822, allocations: 7.922 kB / 1.217 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7822, allocations: 1 kB / 1.217 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.609e-05/0.7823, allocations: 13.7 kB / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.7823, allocations: 0 / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.7823, allocations: 4.375 kB / 1.217 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.7823, allocations: 0.8438 kB / 1.217 GB, free: 0.5156 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 (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.253e-05/0.7824, allocations: 120.5 kB / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.7824, allocations: 1.125 kB / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.7826, allocations: 79.28 kB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.7826, allocations: 0 / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.7827, allocations: 1.156 kB / 1.217 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.7827, allocations: 3.938 kB / 1.217 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.7828, allocations: 163 kB / 1.217 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.7828, allocations: 3.984 kB / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.7829, allocations: 5.531 kB / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7829, allocations: 1.062 kB / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.7829, allocations: 0 / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7829, allocations: 1.156 kB / 1.217 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7829, allocations: 4.25 kB / 1.217 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.7832, allocations: 163.5 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.7832, allocations: 82.22 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.7832, allocations: 5.062 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/0.7833, allocations: 3.969 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.7833, allocations: 13.05 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.7833, allocations: 1.156 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.7834, allocations: 83.12 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7834, allocations: 0 / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002374/0.7836, allocations: 9.594 kB / 1.217 GB, free: 15.76 MB / 0.9356 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.0005858/0.7842, allocations: 0.7115 MB / 1.218 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002206/0.7844, allocations: 33.97 kB / 1.218 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7844, allocations: 3.938 kB / 1.218 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/0.7845, allocations: 19.58 kB / 1.218 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.7848, allocations: 16.05 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.7852, allocations: 137.9 kB / 1.218 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.7855, allocations: 0.6806 MB / 1.219 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.7855, allocations: 2.125 kB / 1.219 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.7855, allocations: 12.62 kB / 1.219 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.7855, allocations: 0 / 1.219 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02226/0.8078, allocations: 1.458 MB / 1.22 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.872, allocations: 5.484 kB / 1.22 GB, free: 13.34 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.919244909193367]