Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0007643/0.0007643, allocations: 80.45 kB / 19.96 MB, free: 4.598 MB / 18.57 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.0008316/0.0008316, allocations: 173.2 kB / 23.24 MB, free: 1.316 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.9249/0.9249, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.774/1.774, allocations: 389.5 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 1.001 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.798e-05, allocations: 2.281 kB / 1.001 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00121/0.001228, allocations: 0.6032 MB / 1.001 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002434, allocations: 1.125 MB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.002462, allocations: 0 / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.002476, allocations: 3.938 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.002717, allocations: 23.8 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 6.362e-06/0.002724, allocations: 0 / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.204e-05/0.002766, allocations: 12 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.002805, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.00283, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.622e-05/0.002856, allocations: 7.922 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.002864, allocations: 4 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.002965, allocations: 11.98 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.277e-06/0.002974, allocations: 0 / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.139e-05/0.002986, allocations: 0 / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.997e-05/0.003066, allocations: 19.91 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003068, allocations: 3.938 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003069, allocations: 0 / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.003073, allocations: 8 kB / 1.002 GB, free: 11.6 MB / 0.9636 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.0002188/0.003292, allocations: 242.4 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.00333, allocations: 9.344 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.00336, allocations: 34.75 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.003534, allocations: 8.922 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.763e-05/0.003592, allocations: 113.7 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.003601, allocations: 384 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.003621, allocations: 384 / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.611e-05/0.003717, allocations: 42.25 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.003729, allocations: 4.172 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.003738, allocations: 8.125 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.003742, allocations: 0 / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.003779, allocations: 7.938 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.003887, allocations: 124.8 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.004042, allocations: 34.61 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.004065, allocations: 8.859 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.00408, allocations: 0 / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.004097, allocations: 30.56 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.004098, allocations: 0 / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.001871/0.005969, allocations: 0.5442 MB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.005999, allocations: 55.41 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.578e-05/0.006024, allocations: 89.86 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.006039, allocations: 25.7 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.043e-05/0.00606, allocations: 84.14 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.865e-05/0.006098, allocations: 19.89 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.006139, allocations: 17.72 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/0.006211, allocations: 310.8 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.006486, allocations: 95.81 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.00676, allocations: 98.53 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.007289, allocations: 194.7 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.00729, allocations: 0 / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005829/0.007873, allocations: 221.5 kB / 1.005 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.007886, allocations: 4 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.007893, allocations: 7.875 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.007906, allocations: 7.969 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.008092, allocations: 47.97 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.008097, allocations: 4 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.008248, allocations: 35.98 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.008261, allocations: 15.98 kB / 1.005 GB, free: 8.883 MB / 0.9636 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.907e-05/0.00833, allocations: 109.8 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.008343, allocations: 4 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.008396, allocations: 15.59 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.008398, allocations: 0 / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.008402, allocations: 0 / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008405, allocations: 0 / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008112/0.009216, allocations: 425.5 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.009218, allocations: 0 / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.009386, allocations: 47.97 kB / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009388, allocations: 0 / 1.006 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.0094, allocations: 4 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.009402, allocations: 4 kB / 1.006 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.009404, allocations: 3.984 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.009994, allocations: 303.3 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.01, allocations: 7.938 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.01002, allocations: 4 kB / 1.006 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.01018, allocations: 36.41 kB / 1.006 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.0102, allocations: 11.98 kB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.01021, allocations: 128 / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.069e-05/0.01023, allocations: 75.28 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.01023, allocations: 0 / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001691/0.0104, allocations: 8 kB / 1.006 GB, free: 7.766 MB / 0.9636 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.0007882/0.01118, allocations: 0.8412 MB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005939/0.01178, allocations: 184 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01178, allocations: 0 / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.01204, allocations: 92.02 kB / 1.007 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.0122, allocations: 0 / 1.007 GB, free: 6.629 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007097/0.01291, allocations: 254.6 kB / 1.007 GB, free: 6.34 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.014e-05/0.01295, allocations: 59.34 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.01307, allocations: 35.94 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.01313, allocations: 20.42 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.01313, allocations: 4 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.079/0.09213, allocations: 2.234 MB / 1.01 GB, free: 4.105 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.128, allocations: 11.12 kB / 1.01 GB, free: 4.098 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.495622996240854]