Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001835/0.001835, allocations: 113 kB / 16.46 MB, free: 6.453 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.002138/0.002138, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.518/1.518, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.462/3.462, allocations: 0.49 GB / 0.7916 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",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.002353/0.002353, allocations: 68.28 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.4377, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002843/0.4406, allocations: 1.443 MB / 1.322 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000502/0.4411, allocations: 199.8 kB / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.4411, allocations: 0 / 1.322 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/0.4412, allocations: 3.938 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.4412, allocations: 7.938 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.4415, allocations: 35.91 kB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.4416, allocations: 31.84 kB / 1.322 GB, free: 1.625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.4417, allocations: 4 kB / 1.322 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.701e-05/0.4417, allocations: 11.98 kB / 1.323 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.4418, allocations: 15.92 kB / 1.323 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.4418, allocations: 4 kB / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.4419, allocations: 31.97 kB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.4419, allocations: 4 kB / 1.323 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.285e-05/0.442, allocations: 11.92 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.4421, allocations: 44.09 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4421, allocations: 0 / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4421, allocations: 0 / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4421, allocations: 0 / 1.323 GB, free: 1.5 MB / 1.014 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.000522/0.4426, allocations: 343.4 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4427, allocations: 15.98 kB / 1.323 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.4427, allocations: 38.75 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.4427, allocations: 0.9375 kB / 1.323 GB, free: 1.051 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.4429, allocations: 168.3 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4429, allocations: 8.312 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.4429, allocations: 384 / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.4431, allocations: 54.17 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4431, allocations: 3.938 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4431, allocations: 0 / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.4431, allocations: 8 kB / 1.323 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.4433, allocations: 35.95 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.4437, allocations: 240.9 kB / 1.323 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.4438, allocations: 42.53 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.4439, allocations: 24.91 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.444, allocations: 89.03 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.4441, allocations: 34.55 kB / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.4441, allocations: 0 / 1.324 GB, free: 228 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.4444, allocations: 81.59 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.4445, allocations: 55.52 kB / 1.324 GB, free: 72 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.4446, allocations: 105.9 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.4446, allocations: 25.7 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.283e-05/0.4447, allocations: 92.08 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.4447, allocations: 4 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.4448, allocations: 13.7 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4449, allocations: 310.8 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-05/0.445, allocations: 19.98 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.4451, allocations: 19.92 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.4452, allocations: 44.81 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.4452, allocations: 3.938 kB / 1.324 GB, free: 15.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002109/0.4454, allocations: 69.61 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4455, allocations: 8.094 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4455, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4455, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.4456, allocations: 8 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4456, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.992e-05/0.4456, allocations: 7.984 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.4456, allocations: 0 / 1.324 GB, free: 15.31 MB / 1.029 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 9.288e-05/0.4457, allocations: 121.7 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.4458, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.446, allocations: 72.77 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.446, allocations: 4 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.446, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.446, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.4462, allocations: 157.6 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4462, allocations: 0 / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.226e-05/0.4463, allocations: 15.98 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4463, allocations: 3.938 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.4463, allocations: 4.031 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4463, allocations: 0 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4463, allocations: 256 / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.4465, allocations: 167.3 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.4466, allocations: 77.11 kB / 1.325 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.4466, allocations: 11.94 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.4467, allocations: 16.02 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.4467, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-06/0.4467, allocations: 0 / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.767e-05/0.4468, allocations: 83.27 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4468, allocations: 0 / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002727/0.4471, allocations: 11.94 kB / 1.325 GB, free: 14.48 MB / 1.029 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.0006686/0.4477, allocations: 0.7085 MB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.448, allocations: 39.95 kB / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.448, allocations: 0 / 1.326 GB, free: 13.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.481e-05/0.4481, allocations: 20.08 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.4483, allocations: 6.344 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.4488, allocations: 154.9 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.4491, allocations: 0.6767 MB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.4491, allocations: 0 / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.4492, allocations: 15.42 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4492, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.4753, allocations: 1.452 MB / 1.328 GB, free: 11.4 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.519, allocations: 14.67 kB / 1.328 GB, free: 11.39 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.569269391009584]