Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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.001179/0.001179, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001468/0.001468, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8781/0.8781, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.739/1.739, allocations: 377.9 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.SmoothLimit,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.678e-05, allocations: 4.953 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001766/0.001782, allocations: 1.475 MB / 0.9824 GB, free: 1.074 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.002476, allocations: 0.5842 MB / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.002534, allocations: 0 / 0.983 GB, free: 496 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.002559, allocations: 3.938 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.585e-05/0.002595, allocations: 0 / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.002847, allocations: 67.75 kB / 0.9831 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.002926, allocations: 23.92 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.003006, allocations: 8 kB / 0.9831 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.00311, allocations: 31.78 kB / 0.9831 GB, free: 360 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.00315, allocations: 11.98 kB / 0.9831 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.00317, allocations: 4 kB / 0.9831 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.00326, allocations: 51.94 kB / 0.9832 GB, free: 292 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.003271, allocations: 7.938 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.003286, allocations: 4 kB / 0.9832 GB, free: 280 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.003411, allocations: 87.72 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.003413, allocations: 4 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003414, allocations: 0 / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.003417, allocations: 0 / 0.9833 GB, free: 188 kB / 0.9323 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.0003319/0.003749, allocations: 278.1 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.003787, allocations: 8.031 kB / 0.9836 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.897e-05/0.003816, allocations: 30.75 kB / 0.9836 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.003916, allocations: 16.88 kB / 0.9836 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.004066, allocations: 125.7 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.004075, allocations: 4.375 kB / 0.9837 GB, free: 15.67 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.004082, allocations: 4.312 kB / 0.9837 GB, free: 15.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.004189, allocations: 58.17 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004196, allocations: 192 / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.004206, allocations: 4.125 kB / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.00421, allocations: 0 / 0.9838 GB, free: 15.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.771e-05/0.004268, allocations: 19.98 kB / 0.9838 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.004526, allocations: 216.1 kB / 0.984 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.278e-05/0.004589, allocations: 34.5 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.267e-05/0.004621, allocations: 24.84 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003208/0.004942, allocations: 91.88 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.004962, allocations: 38.56 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.004963, allocations: 0 / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.005138, allocations: 57.67 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.005166, allocations: 55.53 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.09e-05/0.005227, allocations: 117.8 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.005236, allocations: 25.7 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.00527, allocations: 88.14 kB / 0.9845 GB, free: 14.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.005285, allocations: 11.88 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.00531, allocations: 13.72 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.005383, allocations: 314.8 kB / 0.9848 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.005408, allocations: 11.98 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.989e-05/0.005428, allocations: 8 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.005474, allocations: 28.91 kB / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.005476, allocations: 0 / 0.9849 GB, free: 14.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.97e-05/0.005545, allocations: 61.58 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.005559, allocations: 11.92 kB / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005564, allocations: 0 / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.005573, allocations: 0 / 0.985 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.709e-05/0.00562, allocations: 4 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.005625, allocations: 0 / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.005641, allocations: 4 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.005645, allocations: 4.031 kB / 0.985 GB, free: 14.25 MB / 0.948 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.277e-05/0.005698, allocations: 117.8 kB / 0.9851 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.005711, allocations: 4.312 kB / 0.9851 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.874e-05/0.005809, allocations: 57.3 kB / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.005812, allocations: 0 / 0.9851 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.005817, allocations: 4 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.00582, allocations: 3.938 kB / 0.9852 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.005922, allocations: 132.7 kB / 0.9853 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.005925, allocations: 3.938 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/0.005943, allocations: 16.03 kB / 0.9853 GB, free: 13.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.005944, allocations: 3.938 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.00595, allocations: 0 / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.005952, allocations: 3.984 kB / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005952, allocations: 0 / 0.9853 GB, free: 13.86 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.867e-05/0.006051, allocations: 143.5 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.006059, allocations: 3.938 kB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006069, allocations: 0 / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.151e-05/0.0061, allocations: 7.984 kB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.006127, allocations: 4.031 kB / 0.9855 GB, free: 13.69 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.006131, allocations: 4 kB / 0.9855 GB, free: 13.68 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.279e-05/0.006173, allocations: 87.27 kB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006173, allocations: 0 / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001657/0.006339, allocations: 27.83 kB / 0.9856 GB, free: 13.57 MB / 0.948 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.0003498/0.006689, allocations: 0.6967 MB / 0.9862 GB, free: 12.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.921e-05/0.006778, allocations: 27.98 kB / 0.9863 GB, free: 12.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.006779, allocations: 4.094 kB / 0.9863 GB, free: 12.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.379e-05/0.006803, allocations: 15.92 kB / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.006967, allocations: 0 / 0.9863 GB, free: 12.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.007772, allocations: 1.249 MB / 0.9875 GB, free: 11.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.007811, allocations: 67.28 kB / 0.9876 GB, free: 11.38 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.724e-05/0.007829, allocations: 4.094 kB / 0.9876 GB, free: 11.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.007859, allocations: 16.48 kB / 0.9876 GB, free: 11.36 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/0.00786, allocations: 0 / 0.9876 GB, free: 11.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.0216, allocations: 2.284 MB / 0.9898 GB, free: 9.203 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.787, allocations: 11.95 kB / 0.9898 GB, free: 9.195 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit.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: 10.888793521560729]