Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.0008037/0.0008037, 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.0008394/0.0008394, 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.8996/0.8996, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.665/1.665, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.714e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002036/0.002053, allocations: 1.463 MB / 0.9519 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006108/0.002664, allocations: 471.4 kB / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.002694, allocations: 0 / 0.9524 GB, free: 1.559 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.00272, allocations: 7.922 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.002778, allocations: 3.938 kB / 0.9524 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002049/0.002983, allocations: 31.84 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.003042, allocations: 27.92 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.516e-05/0.003128, allocations: 0 / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/0.003192, allocations: 15.92 kB / 0.9525 GB, free: 1.473 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.00323, allocations: 8 kB / 0.9525 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.003243, allocations: 4 kB / 0.9525 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.003298, allocations: 15.92 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.003314, allocations: 7.984 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.944e-05/0.003334, allocations: 15.92 kB / 0.9525 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.94e-05/0.003423, allocations: 23.97 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.003425, allocations: 8 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003426, allocations: 0 / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.00343, allocations: 0 / 0.9525 GB, free: 1.391 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.0003097/0.003739, allocations: 262.3 kB / 0.9528 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.003776, allocations: 12.03 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.564e-05/0.003802, allocations: 34.69 kB / 0.9528 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.003823, allocations: 8.875 kB / 0.9528 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.649e-05/0.003899, allocations: 113.7 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.003908, allocations: 384 / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.795e-06/0.003915, allocations: 4.375 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.004033, allocations: 50.23 kB / 0.953 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.00404, allocations: 4.188 kB / 0.953 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.004048, allocations: 4.125 kB / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.004052, allocations: 3.938 kB / 0.953 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.004141, allocations: 31.91 kB / 0.953 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.004393, allocations: 220 kB / 0.9533 GB, free: 0.5469 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.326e-05/0.004466, allocations: 34.56 kB / 0.9533 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.704e-05/0.004513, allocations: 32.83 kB / 0.9533 GB, free: 480 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/0.004581, allocations: 7.984 kB / 0.9533 GB, free: 472 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.0046, allocations: 38.5 kB / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.004601, allocations: 0 / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002064/0.004807, allocations: 85.59 kB / 0.9534 GB, free: 332 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.004835, allocations: 51.41 kB / 0.9535 GB, free: 268 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.498e-05/0.00489, allocations: 114 kB / 0.9536 GB, free: 144 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/0.004898, allocations: 25.7 kB / 0.9536 GB, free: 112 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.004931, allocations: 84.14 kB / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.004945, allocations: 3.953 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/0.004968, allocations: 13.72 kB / 0.9537 GB, free: 0 / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.005051, allocations: 318.8 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.072e-05/0.005091, allocations: 15.98 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.005131, allocations: 16 kB / 0.9541 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.902e-05/0.00521, allocations: 48.81 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005211, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.676e-05/0.005308, allocations: 65.61 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.00532, allocations: 4 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.005324, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.005335, allocations: 0 / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.00539, allocations: 11.98 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.005394, allocations: 4.031 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.005416, allocations: 7.984 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.005421, allocations: 0 / 0.9542 GB, free: 15.5 MB / 0.9167 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 5.041e-05/0.005471, allocations: 109.8 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.005483, allocations: 7.938 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.00561, allocations: 72.86 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.005612, allocations: 4 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.005616, allocations: 0 / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.005618, allocations: 4.031 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.547e-05/0.005713, allocations: 128.7 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.005715, allocations: 7.875 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.00574, allocations: 11.98 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.005742, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.005749, allocations: 4 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.00575, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005751, allocations: 0 / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.005872, allocations: 171.5 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.005877, allocations: 3.938 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.005886, allocations: 0 / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.005922, allocations: 7.984 kB / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.005951, allocations: 0 / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.005955, allocations: 8.25 kB / 0.9547 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.657e-05/0.005981, allocations: 87.27 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005981, allocations: 0 / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001548/0.006136, allocations: 7.938 kB / 0.9548 GB, free: 14.8 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 (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.0003214/0.006458, allocations: 0.7007 MB / 0.9555 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.006576, allocations: 39.89 kB / 0.9555 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006577, allocations: 0 / 0.9555 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.006618, allocations: 19.98 kB / 0.9555 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.00682, allocations: 6.5 kB / 0.9556 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.007121, allocations: 142.4 kB / 0.9557 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.007164, allocations: 59.36 kB / 0.9557 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.928e-05/0.007183, allocations: 7.969 kB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.007211, allocations: 16.5 kB / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.007212, allocations: 0 / 0.9558 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.02259, allocations: 2.092 MB / 0.9578 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/6.932, allocations: 9.969 kB / 0.9578 GB, free: 11.77 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.005797924473882]