Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 189.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 390.2 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 59.91 kB / 0.8122 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5318, allocations: 140.4 MB / 0.9492 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002556/0.5344, allocations: 1.487 MB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003428/0.5348, allocations: 191.8 kB / 0.9509 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.5348, allocations: 4 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.5349, allocations: 1.344 kB / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.5349, allocations: 0 / 0.9509 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.5352, allocations: 37.66 kB / 0.9509 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.056e-05/0.5352, allocations: 29.84 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.226e-05/0.5353, allocations: 7.281 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.5353, allocations: 6.938 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.5354, allocations: 10.7 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.5354, allocations: 2.219 kB / 0.951 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.797e-05/0.5355, allocations: 37.12 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.5355, allocations: 17.45 kB / 0.951 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.5355, allocations: 5.75 kB / 0.951 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.583e-05/0.5356, allocations: 34.72 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.5356, allocations: 0 / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5356, allocations: 0 / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.5357, allocations: 0 / 0.9511 GB, free: 7.594 MB / 0.7169 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.0003383/0.536, allocations: 345.9 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.536, allocations: 8.594 kB / 0.9514 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.356e-05/0.5361, allocations: 43.83 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.5361, allocations: 5.906 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.392e-05/0.5362, allocations: 170.7 kB / 0.9516 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.5362, allocations: 384 / 0.9516 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.5362, allocations: 1.719 kB / 0.9516 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.5364, allocations: 58.75 kB / 0.9517 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5364, allocations: 3.938 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.5364, allocations: 0 / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5364, allocations: 1.469 kB / 0.9517 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.5366, allocations: 38.42 kB / 0.9517 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000232/0.5368, allocations: 245.2 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.5369, allocations: 39.84 kB / 0.952 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.668e-05/0.537, allocations: 26.61 kB / 0.952 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.394e-05/0.5371, allocations: 83.83 kB / 0.9521 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.202e-05/0.5371, allocations: 30.56 kB / 0.9521 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5371, allocations: 1 kB / 0.9521 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003316/0.5374, allocations: 81.52 kB / 0.9522 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.5374, allocations: 51.41 kB / 0.9522 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.525e-05/0.5375, allocations: 111.6 kB / 0.9523 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.014e-06/0.5375, allocations: 27.23 kB / 0.9524 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.5375, allocations: 89.3 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.5376, allocations: 1.469 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.5376, allocations: 16.47 kB / 0.9525 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.779e-05/0.5376, allocations: 320.2 kB / 0.9528 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.4e-05/0.5377, allocations: 13.36 kB / 0.9528 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.5378, allocations: 20.64 kB / 0.9528 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.5379, allocations: 36.67 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5379, allocations: 3.938 kB / 0.9528 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000159/0.5381, allocations: 69.25 kB / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.5381, allocations: 5.562 kB / 0.9529 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5381, allocations: 4.094 kB / 0.9529 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5381, allocations: 1.594 kB / 0.9529 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.5382, allocations: 10.3 kB / 0.9529 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5382, allocations: 11.88 kB / 0.9529 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.5383, allocations: 7.922 kB / 0.953 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.5383, allocations: 0 / 0.953 GB, free: 5.613 MB / 0.7169 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 4.815e-05/0.5383, allocations: 116 kB / 0.9531 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.5384, allocations: 5.406 kB / 0.9531 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.5386, allocations: 70.94 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5386, allocations: 1.469 kB / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5386, allocations: 0 / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.5386, allocations: 0 / 0.9531 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.5387, allocations: 170.1 kB / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5387, allocations: 1.25 kB / 0.9533 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.5388, allocations: 9.484 kB / 0.9533 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5388, allocations: 1.25 kB / 0.9533 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.5388, allocations: 4.031 kB / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5388, allocations: 0 / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5388, allocations: 5.438 kB / 0.9533 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.539, allocations: 158.6 kB / 0.9535 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.958e-05/0.539, allocations: 86.39 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.539, allocations: 1.375 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.714e-05/0.5391, allocations: 10.77 kB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.5391, allocations: 1.375 kB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.5391, allocations: 1.375 kB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.985e-05/0.5392, allocations: 79.41 kB / 0.9536 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5392, allocations: 0 / 0.9536 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000218/0.5394, allocations: 17.61 kB / 0.9537 GB, free: 4.871 MB / 0.7169 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.000361/0.5398, allocations: 0.7038 MB / 0.9543 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001869/0.54, allocations: 33.56 kB / 0.9544 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.54, allocations: 0 / 0.9544 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.54, allocations: 27.5 kB / 0.9544 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.5403, allocations: 2.406 kB / 0.9544 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.5407, allocations: 143.5 kB / 0.9545 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.5408, allocations: 0.6804 MB / 0.9552 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.5408, allocations: 5.438 kB / 0.9552 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.5409, allocations: 13 kB / 0.9552 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5409, allocations: 4.062 kB / 0.9552 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009552/0.5504, allocations: 1.292 MB / 0.9565 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001159/0.5505, allocations: 197.1 kB / 0.9567 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.186, allocations: 4 kB / 0.9567 GB, free: 2.355 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches