Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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.0007946/0.0007946, 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.000781/0.000781, 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.8924/0.8924, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.662/1.662, allocations: 359 MB / 0.6037 GB, free: 11.07 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.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9505 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.241e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.336 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001648/0.001661, allocations: 1.46 MB / 0.9519 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002908/0.001952, allocations: 183.4 kB / 0.9521 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.001979, allocations: 0 / 0.9521 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.002004, allocations: 3.938 kB / 0.9521 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.002037, allocations: 0 / 0.9521 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.002262, allocations: 39.84 kB / 0.9521 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.742e-05/0.002319, allocations: 27.91 kB / 0.9522 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.002403, allocations: 4 kB / 0.9522 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.002452, allocations: 15.92 kB / 0.9522 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.002484, allocations: 8 kB / 0.9522 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.002497, allocations: 4 kB / 0.9522 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.002565, allocations: 31.95 kB / 0.9522 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.002579, allocations: 8 kB / 0.9522 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.519e-05/0.002594, allocations: 7.922 kB / 0.9522 GB, free: 0.5273 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.002698, allocations: 47.81 kB / 0.9523 GB, free: 492 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.002701, allocations: 4 kB / 0.9523 GB, free: 488 kB / 0.8542 GB Notification: Performance of FrontEnd: time 9.31e-07/0.002702, allocations: 0 / 0.9523 GB, free: 488 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.002705, allocations: 0 / 0.9523 GB, free: 488 kB / 0.8542 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.0003007/0.003006, allocations: 266.3 kB / 0.9526 GB, free: 188 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.003044, allocations: 12.03 kB / 0.9526 GB, free: 176 kB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.003076, allocations: 38.73 kB / 0.9526 GB, free: 128 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.311e-05/0.003099, allocations: 8.828 kB / 0.9526 GB, free: 120 kB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.275e-05/0.003192, allocations: 105.8 kB / 0.9527 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.003201, allocations: 384 / 0.9527 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.003208, allocations: 384 / 0.9527 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.003338, allocations: 54.22 kB / 0.9528 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.003343, allocations: 192 / 0.9528 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.003351, allocations: 4.375 kB / 0.9528 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.003357, allocations: 4.125 kB / 0.9528 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.748e-05/0.003444, allocations: 35.95 kB / 0.9528 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.003693, allocations: 223.9 kB / 0.953 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.172e-05/0.003765, allocations: 38.55 kB / 0.9531 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.003809, allocations: 20.91 kB / 0.9531 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.878e-05/0.003858, allocations: 4 kB / 0.9531 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.003875, allocations: 34.5 kB / 0.9531 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.003876, allocations: 0 / 0.9531 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.004078, allocations: 93.53 kB / 0.9532 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.004102, allocations: 55.41 kB / 0.9533 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.173e-05/0.004154, allocations: 105.8 kB / 0.9534 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.004162, allocations: 29.64 kB / 0.9534 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.106e-05/0.004193, allocations: 88.14 kB / 0.9535 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.004207, allocations: 3.953 kB / 0.9535 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.004234, allocations: 13.72 kB / 0.9535 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.004301, allocations: 315 kB / 0.9538 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.004342, allocations: 19.98 kB / 0.9538 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.004378, allocations: 19.98 kB / 0.9538 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.456e-05/0.004453, allocations: 36.81 kB / 0.9539 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.004455, allocations: 4 kB / 0.9539 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.653e-05/0.004552, allocations: 69.61 kB / 0.9539 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.004562, allocations: 8 kB / 0.9539 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004566, allocations: 0 / 0.9539 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.004576, allocations: 0 / 0.9539 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.004628, allocations: 7.984 kB / 0.9539 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.004632, allocations: 0 / 0.9539 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.004653, allocations: 7.984 kB / 0.954 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.004658, allocations: 7.938 kB / 0.954 GB, free: 14.58 MB / 0.8698 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 4.487e-05/0.004703, allocations: 109.8 kB / 0.9541 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.004715, allocations: 11.97 kB / 0.9541 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.004836, allocations: 64.97 kB / 0.9541 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.004838, allocations: 0 / 0.9541 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.004841, allocations: 0 / 0.9541 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.004845, allocations: 7.938 kB / 0.9541 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.27e-05/0.004937, allocations: 124.8 kB / 0.9543 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.004938, allocations: 0 / 0.9543 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.004961, allocations: 7.984 kB / 0.9543 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.004964, allocations: 11.97 kB / 0.9543 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.00497, allocations: 0 / 0.9543 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.00497, allocations: 0 / 0.9543 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004971, allocations: 0 / 0.9543 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.005087, allocations: 163.5 kB / 0.9544 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.005092, allocations: 7.938 kB / 0.9544 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-06/0.0051, allocations: 0 / 0.9544 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.005137, allocations: 7.984 kB / 0.9545 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.005168, allocations: 0 / 0.9545 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.005171, allocations: 4.281 kB / 0.9545 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.845e-05/0.005199, allocations: 95.2 kB / 0.9545 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005199, allocations: 0 / 0.9545 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001502/0.005349, allocations: 12 kB / 0.9546 GB, free: 13.89 MB / 0.8698 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.0003226/0.005672, allocations: 0.7051 MB / 0.9552 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.005789, allocations: 39.98 kB / 0.9553 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.00579, allocations: 0 / 0.9553 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.005832, allocations: 23.92 kB / 0.9553 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.00601, allocations: 3.984 kB / 0.9553 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.006307, allocations: 142.5 kB / 0.9554 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.82e-05/0.006345, allocations: 59.36 kB / 0.9555 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.824e-05/0.006363, allocations: 3.984 kB / 0.9555 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.00639, allocations: 16.62 kB / 0.9555 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of SimCode: time 3.81e-07/0.00639, allocations: 0 / 0.9555 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.02085, allocations: 2.116 MB / 0.9576 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.239/7.26, allocations: 5.719 kB / 0.9576 GB, free: 10.83 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_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_SmoothExponential.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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.193349352106452]