Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.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.001728/0.001728, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.00203/0.00203, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.614/1.614, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.077/3.077, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 70.09 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28/1.282, allocations: 176.1 MB / 1.321 GB, free: 24.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002597/1.284, allocations: 1.484 MB / 1.323 GB, free: 23.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004291/1.285, allocations: 147.4 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/1.285, allocations: 0 / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.114e-05/1.285, allocations: 3.938 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.121e-05/1.285, allocations: 6.531 kB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/1.285, allocations: 41.61 kB / 1.323 GB, free: 23.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001153/1.285, allocations: 40.23 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/1.285, allocations: 11.84 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.804e-05/1.285, allocations: 19.09 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/1.285, allocations: 27.81 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/1.285, allocations: 2.562 kB / 1.323 GB, free: 23.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/1.286, allocations: 37.95 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/1.286, allocations: 10.66 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/1.286, allocations: 17.94 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/1.286, allocations: 66.36 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.286, allocations: 0 / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.174e-06/1.286, allocations: 2.781 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.43e-05/1.286, allocations: 0 / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004721/1.286, allocations: 369.7 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.286, allocations: 12.98 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.468e-05/1.286, allocations: 192 / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.433e-05/1.286, allocations: 37.05 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/1.287, allocations: 208.7 kB / 1.324 GB, free: 23.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/1.287, allocations: 175.2 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.287, allocations: 384 / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/1.288, allocations: 7.281 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/1.288, allocations: 194.1 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.288, allocations: 0 / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/1.288, allocations: 3.984 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.288, allocations: 2.625 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008075/1.289, allocations: 278.8 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008482/1.29, allocations: 449.8 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/1.291, allocations: 281.5 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/1.291, allocations: 103.5 kB / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/1.291, allocations: 0 / 1.325 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/1.291, allocations: 33.31 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/1.291, allocations: 0 / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.001182/1.292, allocations: 314.5 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/1.292, allocations: 58.73 kB / 1.326 GB, free: 22.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/1.293, allocations: 117.3 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/1.293, allocations: 25.7 kB / 1.326 GB, free: 22.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/1.293, allocations: 91.17 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/1.293, allocations: 6.828 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/1.293, allocations: 22.17 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.216e-05/1.293, allocations: 314.8 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/1.293, allocations: 98.22 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/1.293, allocations: 93.48 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/1.294, allocations: 176.6 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.294, allocations: 0.9062 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008005/1.295, allocations: 216.1 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.295, allocations: 9.312 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.295, allocations: 1 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.295, allocations: 0 / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/1.295, allocations: 32.05 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/1.295, allocations: 0.9062 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/1.296, allocations: 32.45 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/1.296, allocations: 8.562 kB / 1.327 GB, free: 21.53 MB / 1.061 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 (3): * Single equations (assignments): 3 * 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 7.566e-05/1.296, allocations: 118.2 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/1.296, allocations: 6.109 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/1.296, allocations: 9.703 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.296, allocations: 0.7188 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.296, allocations: 0.5 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.296, allocations: 0.5312 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/1.296, allocations: 212.4 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.296, allocations: 0 / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/1.296, allocations: 43.44 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.296, allocations: 0.6562 kB / 1.327 GB, free: 21.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/1.296, allocations: 5.891 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.296, allocations: 0.9062 kB / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.296, allocations: 0 / 1.327 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/1.297, allocations: 320 kB / 1.328 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/1.297, allocations: 80.05 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/1.297, allocations: 0.5312 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/1.297, allocations: 27.78 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/1.297, allocations: 2.25 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/1.297, allocations: 3.375 kB / 1.328 GB, free: 20.9 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.492e-05/1.298, allocations: 104.8 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.298, allocations: 0 / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002538/1.298, allocations: 16.22 kB / 1.328 GB, free: 20.8 MB / 1.061 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 (3): * Single equations (assignments): 3 * 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.001119/1.299, allocations: 0.8351 MB / 1.329 GB, free: 20.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009158/1.3, allocations: 198.2 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.3, allocations: 0 / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004241/1.3, allocations: 102.4 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/1.301, allocations: 7.156 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/1.304, allocations: 1.851 MB / 1.331 GB, free: 18.76 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/1.304, allocations: 0.6868 MB / 1.331 GB, free: 18.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.536e-05/1.305, allocations: 20.91 kB / 1.331 GB, free: 18.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.551e-05/1.305, allocations: 16.73 kB / 1.331 GB, free: 18.05 MB / 1.061 GB Notification: Performance of SimCode: time 5.71e-07/1.305, allocations: 0 / 1.331 GB, free: 18.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/1.324, allocations: 2.009 MB / 1.333 GB, free: 17.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.757/11.08, allocations: 12.16 kB / 1.333 GB, free: 17.61 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.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: 18.21766792301787]