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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.315/1.315, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 0.8693 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6254/0.6268, allocations: 151.6 MB / 1.017 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002656/0.6295, allocations: 1.439 MB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004578/0.63, allocations: 196.2 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.6301, allocations: 0 / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.6301, allocations: 4 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.6302, allocations: 7.922 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.6306, allocations: 35.84 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.6307, allocations: 27.92 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.6308, allocations: 8 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.345e-05/0.6308, allocations: 7.938 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.611e-05/0.6309, allocations: 15.91 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.6309, allocations: 4 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.58e-05/0.631, allocations: 31.97 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.631, allocations: 11.98 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.631, allocations: 7.938 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.6312, allocations: 35.94 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6312, allocations: 11.94 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6312, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.6312, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 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.0004103/0.6316, allocations: 337.9 kB / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6316, allocations: 8.031 kB / 1.02 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.15e-05/0.6317, allocations: 38.73 kB / 1.02 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.6317, allocations: 8.844 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.6318, allocations: 168.3 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.6318, allocations: 384 / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.6319, allocations: 384 / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.632, allocations: 50.23 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.632, allocations: 3.938 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.6321, allocations: 0 / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.6321, allocations: 4 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.6322, allocations: 35.95 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.6326, allocations: 256.9 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.6327, allocations: 42.48 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.777e-05/0.6328, allocations: 16.91 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.6329, allocations: 85.11 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.6329, allocations: 30.56 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 3.075e-06/0.6329, allocations: 3.984 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000352/0.6333, allocations: 89.48 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.6333, allocations: 51.41 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.6334, allocations: 106 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.6334, allocations: 29.7 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.6335, allocations: 84.14 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.6335, allocations: 3.906 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.6335, allocations: 13.72 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.067e-05/0.6336, allocations: 318.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.6337, allocations: 15.98 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/0.6338, allocations: 19.98 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.634, allocations: 40.81 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.634, allocations: 7.875 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/0.6342, allocations: 65.61 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.6342, allocations: 9.969 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6342, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6343, allocations: 4.344 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.6343, allocations: 11.98 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.6344, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.6344, allocations: 7.984 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.6344, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 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 6.857e-05/0.6345, allocations: 113.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.6345, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.6348, allocations: 72.78 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6348, allocations: 3.938 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.6348, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6348, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/0.635, allocations: 161.6 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.635, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.635, allocations: 7.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.635, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.6351, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6351, allocations: 4.031 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6351, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.6353, allocations: 167.4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.6354, allocations: 77.11 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.6354, allocations: 0 / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.796e-05/0.6355, allocations: 12.02 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.6355, allocations: 4 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.6355, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.6355, allocations: 83.28 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6355, allocations: 3.938 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000233/0.6358, allocations: 15.98 kB / 1.022 GB, free: 13.78 MB / 0.7794 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.0005319/0.6363, allocations: 0.7007 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.6365, allocations: 39.95 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.6366, allocations: 0 / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.096e-05/0.6367, allocations: 23.92 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.6369, allocations: 4.156 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.6374, allocations: 143 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.6376, allocations: 0.6768 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.6376, allocations: 3.938 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.6377, allocations: 11.44 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6377, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.6535, allocations: 1.426 MB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.982, allocations: 11.94 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches