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.001728/0.001728, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002165/0.002165, allocations: 215 kB / 20.13 MB, free: 2.949 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.617/1.617, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.053/3.053, allocations: 0.49 GB / 0.7923 GB, free: 1.305 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.SmoothLimit,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit",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.002141/0.002141, allocations: 67.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196/1.199, allocations: 176.1 MB / 1.321 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002954/1.202, allocations: 1.49 MB / 1.323 GB, free: 23.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001015/1.203, allocations: 0.6301 MB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.68e-05/1.203, allocations: 0 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/1.203, allocations: 0 / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.281e-05/1.203, allocations: 14.56 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/1.203, allocations: 57.08 kB / 1.324 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000106/1.203, allocations: 25.55 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/1.203, allocations: 10.5 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/1.203, allocations: 19.5 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/1.203, allocations: 16.83 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/1.203, allocations: 2.906 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/1.204, allocations: 61.73 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/1.204, allocations: 7.938 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/1.204, allocations: 18.16 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/1.204, allocations: 66.64 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.204, allocations: 0 / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/1.204, allocations: 3.938 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.654e-06/1.204, allocations: 0 / 1.324 GB, free: 23.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004422/1.204, allocations: 358.7 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.204, allocations: 13.17 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.287e-05/1.204, allocations: 192 / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/1.204, allocations: 34.75 kB / 1.324 GB, free: 22.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/1.204, allocations: 16.11 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/1.205, allocations: 176.4 kB / 1.324 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/1.205, allocations: 384 / 1.324 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/1.205, allocations: 2.812 kB / 1.324 GB, free: 22.53 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/1.205, allocations: 51.44 kB / 1.324 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.205, allocations: 0 / 1.324 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/1.205, allocations: 4 kB / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/1.205, allocations: 2.406 kB / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.123e-05/1.205, allocations: 22.39 kB / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/1.205, allocations: 254.5 kB / 1.325 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.526e-05/1.205, allocations: 33.98 kB / 1.325 GB, free: 22.17 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/1.205, allocations: 14.2 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007605/1.206, allocations: 482.8 kB / 1.325 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/1.206, allocations: 33.75 kB / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/1.206, allocations: 0 / 1.325 GB, free: 21.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002645/1.206, allocations: 64.7 kB / 1.325 GB, free: 21.6 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/1.207, allocations: 58.47 kB / 1.325 GB, free: 21.53 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/1.207, allocations: 106.1 kB / 1.325 GB, free: 21.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/1.207, allocations: 25.7 kB / 1.326 GB, free: 21.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/1.207, allocations: 91.05 kB / 1.326 GB, free: 21.31 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/1.207, allocations: 7.328 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/1.207, allocations: 16.78 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.092e-05/1.207, allocations: 318 kB / 1.326 GB, free: 20.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.541e-05/1.207, allocations: 12.84 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/1.207, allocations: 12.94 kB / 1.326 GB, free: 20.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.659e-05/1.207, allocations: 23.34 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.207, allocations: 3.938 kB / 1.326 GB, free: 20.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001071/1.207, allocations: 49.94 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.207, allocations: 7.719 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.207, allocations: 0 / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.207, allocations: 2.969 kB / 1.326 GB, free: 20.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/1.207, allocations: 13.8 kB / 1.326 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.207, allocations: 0 / 1.326 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/1.207, allocations: 14.73 kB / 1.326 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/1.207, allocations: 0 / 1.326 GB, free: 20.89 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 (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 6.448e-05/1.207, allocations: 117.7 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/1.207, allocations: 6.531 kB / 1.326 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/1.207, allocations: 59.98 kB / 1.326 GB, free: 20.72 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.207, allocations: 4.031 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.207, allocations: 2.812 kB / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.207, allocations: 0 / 1.326 GB, free: 20.71 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/1.208, allocations: 161.9 kB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.208, allocations: 0 / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/1.208, allocations: 8.797 kB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.208, allocations: 0 / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/1.208, allocations: 0 / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.208, allocations: 3.938 kB / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.208, allocations: 0 / 1.326 GB, free: 20.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/1.208, allocations: 165.9 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/1.208, allocations: 77.11 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/1.208, allocations: 4 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/1.208, allocations: 6.438 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/1.208, allocations: 0 / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/1.208, allocations: 3.344 kB / 1.327 GB, free: 20.27 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.069e-05/1.208, allocations: 92.61 kB / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.208, allocations: 0 / 1.327 GB, free: 20.18 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002361/1.208, allocations: 15.47 kB / 1.327 GB, free: 20.18 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 (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.0003882/1.209, allocations: 0.7039 MB / 1.327 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001393/1.209, allocations: 24.5 kB / 1.327 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/1.209, allocations: 0 / 1.327 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/1.209, allocations: 14.84 kB / 1.327 GB, free: 19.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/1.209, allocations: 6.5 kB / 1.327 GB, free: 19.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/1.21, allocations: 1.269 MB / 1.329 GB, free: 18.28 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/1.21, allocations: 0.6818 MB / 1.329 GB, free: 17.58 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.308e-05/1.21, allocations: 2.812 kB / 1.329 GB, free: 17.58 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/1.21, allocations: 11.44 kB / 1.329 GB, free: 17.57 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.21, allocations: 2.812 kB / 1.329 GB, free: 17.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/1.23, allocations: 1.684 MB / 1.331 GB, free: 17.13 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.489/9.719, allocations: 3.312 kB / 1.331 GB, free: 17.13 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/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: 18.042622611974366]