Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.0008127/0.0008127, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008355/0.0008355, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8862/0.8862, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.725/1.725, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 3.938 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.616e-05, allocations: 2.281 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001058/0.001075, allocations: 0.606 MB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002902/0.001365, allocations: 151.4 kB / 0.9818 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.001385, allocations: 0 / 0.9818 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.001406, allocations: 0 / 0.9818 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.763e-05/0.001434, allocations: 3.938 kB / 0.9818 GB, free: 1.773 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.00173, allocations: 35.89 kB / 0.9818 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.415e-05/0.001784, allocations: 15.98 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.544e-05/0.00183, allocations: 0 / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.001864, allocations: 8 kB / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.001935, allocations: 15.91 kB / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.00195, allocations: 0 / 0.9818 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.909e-05/0.002019, allocations: 31.91 kB / 0.9819 GB, free: 1.668 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.002035, allocations: 12 kB / 0.9819 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.002052, allocations: 3.984 kB / 0.9819 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.002158, allocations: 39.92 kB / 0.9819 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.00216, allocations: 0 / 0.9819 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002161, allocations: 0 / 0.9819 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002164, allocations: 0 / 0.9819 GB, free: 1.613 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002856/0.00245, allocations: 254.3 kB / 0.9822 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.002486, allocations: 8.031 kB / 0.9822 GB, free: 1.324 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.002512, allocations: 34.75 kB / 0.9822 GB, free: 1.281 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.002534, allocations: 4.938 kB / 0.9822 GB, free: 1.277 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.005e-05/0.002604, allocations: 105.8 kB / 0.9823 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.002615, allocations: 8.375 kB / 0.9823 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.002633, allocations: 8.25 kB / 0.9823 GB, free: 1.133 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.002739, allocations: 75.92 kB / 0.9824 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.002745, allocations: 192 / 0.9824 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.002752, allocations: 384 / 0.9824 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.002758, allocations: 12.06 kB / 0.9824 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.002793, allocations: 8 kB / 0.9824 GB, free: 1.027 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.002917, allocations: 132.7 kB / 0.9825 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.524e-05/0.002992, allocations: 46.56 kB / 0.9826 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.366e-05/0.003016, allocations: 20.98 kB / 0.9826 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.428e-05/0.00308, allocations: 7.984 kB / 0.9826 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.003098, allocations: 34.56 kB / 0.9826 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.003099, allocations: 0 / 0.9826 GB, free: 0.7266 MB / 0.9323 GB Notification: Performance of matching and sorting (n=7): time 0.0008296/0.003929, allocations: 411.3 kB / 0.983 GB, free: 276 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.003954, allocations: 51.41 kB / 0.9831 GB, free: 212 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.27e-05/0.003997, allocations: 97.84 kB / 0.9832 GB, free: 104 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.004007, allocations: 25.7 kB / 0.9832 GB, free: 72 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.004039, allocations: 84.14 kB / 0.9833 GB, free: 15.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.004064, allocations: 23.91 kB / 0.9833 GB, free: 15.96 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.004095, allocations: 29.7 kB / 0.9833 GB, free: 15.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/0.004179, allocations: 310.8 kB / 0.9836 GB, free: 15.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.004201, allocations: 12 kB / 0.9836 GB, free: 15.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.004221, allocations: 19.92 kB / 0.9837 GB, free: 15.58 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.004268, allocations: 32.86 kB / 0.9837 GB, free: 15.55 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.004269, allocations: 0 / 0.9837 GB, free: 15.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.203e-05/0.004351, allocations: 73.86 kB / 0.9838 GB, free: 15.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.004364, allocations: 4 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.004369, allocations: 0 / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.00438, allocations: 3.938 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.505e-05/0.004436, allocations: 23.92 kB / 0.9838 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.00444, allocations: 0 / 0.9838 GB, free: 15.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.004455, allocations: 8 kB / 0.9838 GB, free: 15.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004459, allocations: 0 / 0.9838 GB, free: 15.43 MB / 0.948 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 (8): * Single equations (assignments): 8 * 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.82e-05/0.004507, allocations: 113.8 kB / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-06/0.004513, allocations: 0 / 0.9839 GB, free: 15.31 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.004621, allocations: 89.55 kB / 0.984 GB, free: 15.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.004623, allocations: 3.938 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.004627, allocations: 0 / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.004631, allocations: 0 / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.081e-05/0.004702, allocations: 136.8 kB / 0.9841 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.004703, allocations: 0 / 0.9841 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.004748, allocations: 15.94 kB / 0.9841 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.004749, allocations: 0 / 0.9841 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-06/0.004756, allocations: 4 kB / 0.9841 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.004757, allocations: 3.938 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.004758, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.004882, allocations: 117 kB / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.004889, allocations: 8.031 kB / 0.9843 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.0049, allocations: 3.984 kB / 0.9843 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.398e-05/0.004924, allocations: 8 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.004935, allocations: 7.938 kB / 0.9843 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.004942, allocations: 15.94 kB / 0.9843 GB, free: 14.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.216e-05/0.004964, allocations: 79.27 kB / 0.9844 GB, free: 14.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004964, allocations: 0 / 0.9844 GB, free: 14.76 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001452/0.00511, allocations: 27.94 kB / 0.9844 GB, free: 14.73 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0003264/0.005436, allocations: 0.6832 MB / 0.9851 GB, free: 14.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.278e-05/0.005519, allocations: 39.92 kB / 0.9851 GB, free: 13.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.00552, allocations: 0 / 0.9851 GB, free: 13.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.142e-05/0.005542, allocations: 24.14 kB / 0.9851 GB, free: 13.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.005648, allocations: 11.94 kB / 0.9851 GB, free: 13.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/0.006514, allocations: 1.189 MB / 0.9863 GB, free: 12.67 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.048e-05/0.006554, allocations: 67.2 kB / 0.9864 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.00658, allocations: 4 kB / 0.9864 GB, free: 12.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.006612, allocations: 20.48 kB / 0.9864 GB, free: 12.56 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/0.006613, allocations: 4.062 kB / 0.9864 GB, free: 12.56 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.0218, allocations: 2.443 MB / 0.9888 GB, free: 10.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/6.855, allocations: 32.5 kB / 0.9888 GB, free: 10.25 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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: 10.812881634570658]