Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001151/0.001151, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001406/0.001406, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8898/0.8898, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.673/1.673, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9505 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.859e-05, allocations: 5.375 kB / 0.9506 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001635/0.001654, allocations: 0.6072 MB / 0.9511 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004156/0.002069, allocations: 143.5 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.002098, allocations: 0 / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.002116, allocations: 0 / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.761e-05/0.002144, allocations: 4 kB / 0.9513 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.002481, allocations: 35.83 kB / 0.9513 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.15e-05/0.002543, allocations: 23.91 kB / 0.9513 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.002588, allocations: 0 / 0.9513 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.002626, allocations: 15.98 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.002696, allocations: 7.938 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.002712, allocations: 0 / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.0028, allocations: 31.95 kB / 0.9514 GB, free: 2.539 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.002817, allocations: 7.984 kB / 0.9514 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.002836, allocations: 4 kB / 0.9514 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.002953, allocations: 39.88 kB / 0.9514 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.002956, allocations: 0 / 0.9514 GB, free: 2.488 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002956, allocations: 3.938 kB / 0.9515 GB, free: 2.484 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.00296, allocations: 0 / 0.9515 GB, free: 2.484 MB / 0.9011 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.0003705/0.003331, allocations: 262.3 kB / 0.9517 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.003375, allocations: 8.031 kB / 0.9517 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.003411, allocations: 30.75 kB / 0.9517 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.00344, allocations: 4.938 kB / 0.9517 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.781e-05/0.003528, allocations: 105.8 kB / 0.9518 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.003543, allocations: 8.375 kB / 0.9519 GB, free: 2.008 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.003563, allocations: 4.312 kB / 0.9519 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.003691, allocations: 67.95 kB / 0.9519 GB, free: 1.926 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.003702, allocations: 4.125 kB / 0.9519 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.003711, allocations: 384 / 0.9519 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.003718, allocations: 8.125 kB / 0.9519 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.305e-05/0.003772, allocations: 23.98 kB / 0.952 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.003936, allocations: 120.8 kB / 0.9521 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.004044, allocations: 42.62 kB / 0.9521 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.004083, allocations: 20.97 kB / 0.9521 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.087e-05/0.004164, allocations: 7.984 kB / 0.9521 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.004193, allocations: 34.5 kB / 0.9522 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.004194, allocations: 0 / 0.9522 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.001172/0.005366, allocations: 426.7 kB / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.0054, allocations: 51.41 kB / 0.9526 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.452e-05/0.005454, allocations: 97.86 kB / 0.9527 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.005469, allocations: 25.7 kB / 0.9527 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.005496, allocations: 84.14 kB / 0.9528 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.005526, allocations: 19.8 kB / 0.9528 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.005571, allocations: 25.7 kB / 0.9529 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.005662, allocations: 310.8 kB / 0.9532 GB, free: 496 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.005694, allocations: 15.98 kB / 0.9532 GB, free: 480 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.549e-05/0.005719, allocations: 12 kB / 0.9532 GB, free: 468 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.00579, allocations: 40.78 kB / 0.9532 GB, free: 424 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005791, allocations: 448 / 0.9532 GB, free: 424 kB / 0.9011 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001134/0.005905, allocations: 77.98 kB / 0.9533 GB, free: 340 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.005918, allocations: 4 kB / 0.9533 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.005924, allocations: 0 / 0.9533 GB, free: 336 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.005944, allocations: 3.938 kB / 0.9533 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.006024, allocations: 16 kB / 0.9533 GB, free: 316 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.00603, allocations: 4.062 kB / 0.9533 GB, free: 312 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.006052, allocations: 8 kB / 0.9533 GB, free: 304 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.006059, allocations: 0 / 0.9533 GB, free: 304 kB / 0.9011 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 7.853e-05/0.006137, allocations: 117.8 kB / 0.9535 GB, free: 176 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.00615, allocations: 4 kB / 0.9535 GB, free: 172 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.006313, allocations: 85.58 kB / 0.9535 GB, free: 76 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.006317, allocations: 3.938 kB / 0.9535 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.006321, allocations: 0 / 0.9535 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006324, allocations: 0 / 0.9535 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.006447, allocations: 136.7 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006448, allocations: 3.938 kB / 0.9537 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.006522, allocations: 12 kB / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.006524, allocations: 0 / 0.9537 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.006536, allocations: 7.984 kB / 0.9537 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.00654, allocations: 3.938 kB / 0.9537 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.00654, allocations: 7.938 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.006734, allocations: 113.1 kB / 0.9538 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-06/0.00674, allocations: 4.031 kB / 0.9538 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.006754, allocations: 0 / 0.9538 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.291e-05/0.006797, allocations: 7.938 kB / 0.9538 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.006814, allocations: 3.984 kB / 0.9538 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.006827, allocations: 4 kB / 0.9538 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.417e-05/0.006871, allocations: 79.28 kB / 0.9539 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.01e-07/0.006871, allocations: 0 / 0.9539 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00016/0.007031, allocations: 27.94 kB / 0.9539 GB, free: 15.61 MB / 0.9167 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.0003985/0.00743, allocations: 0.6828 MB / 0.9546 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.00752, allocations: 39.92 kB / 0.9546 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.007522, allocations: 0 / 0.9546 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.007547, allocations: 23.97 kB / 0.9547 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001162/0.007664, allocations: 7.938 kB / 0.9547 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007587/0.008422, allocations: 1.192 MB / 0.9558 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.008461, allocations: 69.94 kB / 0.9559 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.242e-05/0.008493, allocations: 16.17 kB / 0.9559 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.008525, allocations: 16.5 kB / 0.9559 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of SimCode: time 8.71e-07/0.008526, allocations: 0 / 0.9559 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.0262, allocations: 2.461 MB / 0.9583 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.13, allocations: 10.69 kB / 0.9583 GB, free: 11.12 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.070714478380978]