Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0008197/0.0008197, 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.0009211/0.0009211, allocations: 165.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.9175/0.9175, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7/1.7, allocations: 359 MB / 0.6037 GB, free: 11.12 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.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.767e-05/1.943e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001616/0.001635, allocations: 0.599 MB / 0.9511 GB, free: 2.855 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.00268, allocations: 1.124 MB / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.002702, allocations: 0 / 0.9522 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.002716, allocations: 3.938 kB / 0.9522 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.002934, allocations: 27.84 kB / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.637e-06/0.002937, allocations: 0 / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 3.921e-05/0.002976, allocations: 7.938 kB / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.003015, allocations: 0 / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.003038, allocations: 0 / 0.9523 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.304e-05/0.003061, allocations: 7.984 kB / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.003069, allocations: 0 / 0.9523 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.102e-05/0.00316, allocations: 12 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.00317, allocations: 7.938 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.063e-05/0.003181, allocations: 3.984 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 7.632e-05/0.003257, allocations: 7.984 kB / 0.9523 GB, free: 1.637 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.00326, allocations: 4 kB / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003261, allocations: 0 / 0.9523 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.003265, allocations: 0 / 0.9523 GB, free: 1.633 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000201/0.003466, allocations: 250.3 kB / 0.9526 GB, free: 1.359 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.003501, allocations: 8.031 kB / 0.9526 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.599e-05/0.003527, allocations: 34.75 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.003548, allocations: 0.9375 kB / 0.9526 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.248e-05/0.0036, allocations: 113.7 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.003609, allocations: 4.375 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.003629, allocations: 8.359 kB / 0.9527 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.003709, allocations: 34.27 kB / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.003719, allocations: 192 / 0.9527 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.003727, allocations: 4.125 kB / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.003732, allocations: 0 / 0.9527 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.494e-05/0.003766, allocations: 11.98 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001001/0.003867, allocations: 116.8 kB / 0.9529 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.004027, allocations: 38.55 kB / 0.9529 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.004042, allocations: 8.859 kB / 0.9529 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.314e-05/0.004135, allocations: 20.02 kB / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.004169, allocations: 30.56 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.00417, allocations: 0 / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.00197/0.006139, allocations: 0.5715 MB / 0.9535 GB, free: 260 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.006178, allocations: 55.41 kB / 0.9536 GB, free: 192 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.619e-05/0.006204, allocations: 89.86 kB / 0.9537 GB, free: 92 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.006217, allocations: 25.7 kB / 0.9537 GB, free: 60 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.006248, allocations: 80.14 kB / 0.9538 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.006278, allocations: 15.91 kB / 0.9538 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.006319, allocations: 21.7 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/0.00639, allocations: 314.8 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.006659, allocations: 79.95 kB / 0.9542 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.006927, allocations: 102.5 kB / 0.9543 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.007455, allocations: 190.4 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.007456, allocations: 4 kB / 0.9545 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000598/0.008054, allocations: 213.6 kB / 0.9547 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.008068, allocations: 6.188 kB / 0.9547 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.008075, allocations: 3.938 kB / 0.9547 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.008088, allocations: 4 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.008267, allocations: 48 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.008273, allocations: 0 / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.008421, allocations: 43.97 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.008431, allocations: 4.422 kB / 0.9548 GB, free: 14.91 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.745e-05/0.008499, allocations: 121.7 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.008511, allocations: 4 kB / 0.9549 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/0.009165, allocations: 233.1 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.00917, allocations: 3.984 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.009174, allocations: 3.938 kB / 0.9551 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.00918, allocations: 4 kB / 0.9551 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.009965, allocations: 433.7 kB / 0.9555 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.009967, allocations: 64 / 0.9555 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.01014, allocations: 51.97 kB / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.01014, allocations: 0 / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01015, allocations: 0 / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.01016, allocations: 4 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01016, allocations: 3.984 kB / 0.9556 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.01074, allocations: 311.3 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.01075, allocations: 3.984 kB / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.01076, allocations: 0 / 0.9559 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.01092, allocations: 39.98 kB / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.01093, allocations: 0 / 0.9559 GB, free: 13.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.01094, allocations: 11.98 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.227e-05/0.01096, allocations: 75.28 kB / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01096, allocations: 0 / 0.956 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000187/0.01115, allocations: 12 kB / 0.956 GB, free: 13.54 MB / 0.9167 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 (5): * Single equations (assignments): 5 * 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.0008189/0.01197, allocations: 0.8373 MB / 0.9568 GB, free: 12.67 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005899/0.01256, allocations: 180 kB / 0.957 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.01256, allocations: 0 / 0.957 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.01282, allocations: 92.02 kB / 0.9571 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.01299, allocations: 4 kB / 0.9571 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.01369, allocations: 250.4 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.01374, allocations: 63.34 kB / 0.9574 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.01385, allocations: 28 kB / 0.9574 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.01391, allocations: 12.48 kB / 0.9574 GB, free: 12 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/0.01391, allocations: 0 / 0.9574 GB, free: 12 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.02983, allocations: 2.284 MB / 0.9597 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/6.99, allocations: 5.484 kB / 0.9597 GB, free: 9.844 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.037405624054372]