Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008701/0.0008701, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0009075/0.0009075, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9143/0.9143, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.669/1.669, allocations: 359 MB / 0.6037 GB, free: 11.09 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.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.396e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.00192/0.001934, allocations: 1.478 MB / 0.9519 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007982/0.002732, allocations: 0.5809 MB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.002782, allocations: 4 kB / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.002809, allocations: 0 / 0.9525 GB, free: 1.387 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.002851, allocations: 11.88 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.003131, allocations: 59.75 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.003232, allocations: 31.86 kB / 0.9526 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.742e-05/0.003319, allocations: 4 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.003437, allocations: 23.95 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.003486, allocations: 11.94 kB / 0.9526 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.0035, allocations: 4 kB / 0.9527 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.003606, allocations: 59.94 kB / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.003615, allocations: 0 / 0.9527 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.003636, allocations: 15.92 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.003767, allocations: 79.72 kB / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003769, allocations: 0 / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.91e-07/0.00377, allocations: 0 / 0.9528 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.003774, allocations: 0 / 0.9528 GB, free: 1.09 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.0003161/0.00409, allocations: 283.8 kB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.004129, allocations: 8.031 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.004159, allocations: 34.75 kB / 0.9531 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.004265, allocations: 16.83 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.004419, allocations: 125.7 kB / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.004427, allocations: 384 / 0.9532 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.004435, allocations: 384 / 0.9533 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.004541, allocations: 50.23 kB / 0.9533 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004548, allocations: 192 / 0.9533 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004557, allocations: 4.125 kB / 0.9533 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.004563, allocations: 4 kB / 0.9533 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.796e-05/0.004621, allocations: 19.92 kB / 0.9533 GB, free: 500 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002562/0.004877, allocations: 228 kB / 0.9535 GB, free: 228 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.004938, allocations: 30.58 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.00497, allocations: 20.84 kB / 0.9536 GB, free: 164 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/0.005298, allocations: 91.88 kB / 0.9537 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.005319, allocations: 38.55 kB / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.005319, allocations: 0 / 0.9537 GB, free: 24 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001912/0.005511, allocations: 65.66 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.00554, allocations: 55.41 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/0.0056, allocations: 109.8 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.005609, allocations: 25.7 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.005679, allocations: 88.12 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.005694, allocations: 3.953 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.005718, allocations: 13.72 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.005786, allocations: 319 kB / 0.9544 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.005808, allocations: 12 kB / 0.9544 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.005829, allocations: 11.98 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.682e-05/0.005876, allocations: 33.16 kB / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005877, allocations: 0 / 0.9544 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.726e-05/0.005945, allocations: 57.58 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.005956, allocations: 4 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.00596, allocations: 3.938 kB / 0.9545 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.00597, allocations: 4.094 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.006018, allocations: 4 kB / 0.9545 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.006024, allocations: 7.984 kB / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.516e-05/0.006039, allocations: 0 / 0.9545 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.006043, allocations: 0 / 0.9545 GB, free: 15.16 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.127e-05/0.006095, allocations: 117.8 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.006108, allocations: 3.938 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.006213, allocations: 69.23 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006215, allocations: 4.031 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.006218, allocations: 0 / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006221, allocations: 0 / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.006325, allocations: 128.8 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.006327, allocations: 3.938 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.006345, allocations: 7.984 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.006347, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.006353, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006353, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.006354, allocations: 0 / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.882e-05/0.006443, allocations: 155.4 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.006451, allocations: 7.922 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006461, allocations: 8 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.986e-05/0.006491, allocations: 4 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.006516, allocations: 0 / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.006519, allocations: 4 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.94e-05/0.006549, allocations: 87.27 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.006549, allocations: 4 kB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001628/0.006712, allocations: 15.94 kB / 0.9551 GB, free: 14.47 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.000302/0.007014, allocations: 0.7045 MB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.007152, allocations: 23.92 kB / 0.9558 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.007154, allocations: 0 / 0.9558 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.007177, allocations: 8 kB / 0.9558 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.00734, allocations: 12.27 kB / 0.9558 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.008132, allocations: 1.257 MB / 0.957 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.008173, allocations: 71.22 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.762e-05/0.00819, allocations: 3.938 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.008221, allocations: 16.5 kB / 0.9571 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.008221, allocations: 0 / 0.9571 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.0216, allocations: 2.3 MB / 0.9594 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.853/6.875, allocations: 4 kB / 0.9594 GB, free: 10.09 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.777125217020512]