Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) 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.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_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.001476/0.001476, 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.002263/0.002263, allocations: 188.8 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.342/1.342, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.529/2.529, allocations: 469.8 MB / 0.7421 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 73.31 kB / 0.9082 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.235, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002276/0.2373, allocations: 1.512 MB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003493/0.2377, allocations: 191.5 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.2377, allocations: 0 / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.2377, allocations: 0 / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.2378, allocations: 3.938 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.238, allocations: 27.98 kB / 1.065 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.238, allocations: 31.86 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.834e-05/0.2381, allocations: 4 kB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.863e-05/0.2382, allocations: 15.97 kB / 1.065 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.126e-05/0.2382, allocations: 11.94 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.2382, allocations: 0 / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.2383, allocations: 39.95 kB / 1.065 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.2383, allocations: 4 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.2383, allocations: 7.938 kB / 1.065 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.06e-05/0.2384, allocations: 39.88 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2384, allocations: 3.984 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2384, allocations: 4 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2385, allocations: 0 / 1.065 GB, free: 12.63 MB / 0.8262 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.0003964/0.2389, allocations: 347.7 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.2389, allocations: 8.031 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.659e-05/0.2389, allocations: 34.69 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.2389, allocations: 4.938 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.2391, allocations: 160.4 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.2391, allocations: 4.375 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.2391, allocations: 4.375 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.2392, allocations: 58.22 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2393, allocations: 3.938 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.2393, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.2393, allocations: 0 / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.2394, allocations: 35.95 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.2397, allocations: 256.8 kB / 1.066 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.2398, allocations: 42.53 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.676e-05/0.2399, allocations: 24.91 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.362e-05/0.24, allocations: 77.11 kB / 1.066 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.24, allocations: 30.56 kB / 1.066 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.605e-06/0.24, allocations: 4 kB / 1.066 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003034/0.2403, allocations: 89.52 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2404, allocations: 51.41 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.2405, allocations: 105.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.2405, allocations: 25.7 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.2405, allocations: 80.14 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.2405, allocations: 8.031 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.2406, allocations: 25.64 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2407, allocations: 314.8 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.405e-05/0.2408, allocations: 15.98 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.2409, allocations: 11.98 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.241, allocations: 44.88 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.241, allocations: 3.938 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001697/0.2412, allocations: 69.61 kB / 1.067 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.2412, allocations: 7.984 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2412, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2412, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.208e-05/0.2413, allocations: 8 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2413, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.2414, allocations: 12.02 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.2414, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 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 7.475e-05/0.2414, allocations: 117.7 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.2415, allocations: 3.906 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.2417, allocations: 84.69 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2417, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.2417, allocations: 4.031 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.2417, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.2419, allocations: 157.6 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2419, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.2419, allocations: 11.98 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.2419, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.2419, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2419, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2419, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.2422, allocations: 167.7 kB / 1.068 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.2422, allocations: 81.11 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.2422, allocations: 4 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.2423, allocations: 7.984 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.2423, allocations: 3.938 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.2423, allocations: 4 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.2424, allocations: 87.3 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2424, allocations: 0 / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002049/0.2426, allocations: 12 kB / 1.068 GB, free: 9.617 MB / 0.8262 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.0004955/0.2431, allocations: 0.7083 MB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001806/0.2433, allocations: 51.92 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2433, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.2434, allocations: 15.98 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.2436, allocations: 1.25 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.244, allocations: 155.2 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.2442, allocations: 0.6729 MB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.2442, allocations: 4 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.47e-05/0.2443, allocations: 11.42 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2443, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.378/1.622, allocations: 1.289 MB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002877/1.622, allocations: 195 kB / 1.071 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.042/4.664, allocations: 0 / 1.071 GB, free: 6.484 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches