Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007856/0.0007856, 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.0008428/0.0008428, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8904/0.8904, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.635/1.635, 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.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.813e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002396/0.002415, allocations: 1.479 MB / 0.9519 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.0028, allocations: 139.6 kB / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.018e-05/0.00284, allocations: 0 / 0.9521 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.452e-05/0.002885, allocations: 3.938 kB / 0.9521 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-05/0.002955, allocations: 7.922 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.003205, allocations: 35.91 kB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.003312, allocations: 43.84 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.003436, allocations: 15.92 kB / 0.9522 GB, free: 1.742 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.003497, allocations: 23.92 kB / 0.9522 GB, free: 1.719 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.00354, allocations: 15.98 kB / 0.9522 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.00356, allocations: 4 kB / 0.9522 GB, free: 1.699 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.003646, allocations: 27.97 kB / 0.9522 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.003668, allocations: 19.91 kB / 0.9523 GB, free: 1.652 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.003694, allocations: 8 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.003852, allocations: 71.78 kB / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003854, allocations: 4 kB / 0.9523 GB, free: 1.57 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.124e-06/0.003856, allocations: 4 kB / 0.9524 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.167e-06/0.00386, allocations: 0 / 0.9524 GB, free: 1.566 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004141/0.004275, allocations: 286.1 kB / 0.9526 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.004314, allocations: 8.031 kB / 0.9526 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.004354, allocations: 42.69 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.005236, allocations: 216.5 kB / 0.9529 GB, free: 0.9844 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.005326, allocations: 105.8 kB / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.005339, allocations: 384 / 0.953 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.005357, allocations: 4.375 kB / 0.953 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.005847, allocations: 194 kB / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.005855, allocations: 192 / 0.9532 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.00587, allocations: 4.375 kB / 0.9532 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.005878, allocations: 8.125 kB / 0.9532 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.006575, allocations: 279.6 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007705/0.007345, allocations: 388.5 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/0.008109, allocations: 290.1 kB / 0.9541 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.008357, allocations: 104.8 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.008379, allocations: 4 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.008399, allocations: 30.56 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.008401, allocations: 0 / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3): time 0.0008312/0.009232, allocations: 313.2 kB / 0.9545 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.009265, allocations: 59.34 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.486e-05/0.00934, allocations: 113.8 kB / 0.9547 GB, free: 15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.009355, allocations: 29.7 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.009399, allocations: 96.06 kB / 0.9548 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.00942, allocations: 15.91 kB / 0.9548 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.009465, allocations: 13.72 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.009552, allocations: 318.8 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.009759, allocations: 91.88 kB / 0.9552 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.009927, allocations: 95.88 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.01029, allocations: 184.8 kB / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01029, allocations: 0 / 0.9555 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003699/0.01066, allocations: 209.4 kB / 0.9557 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.01067, allocations: 11.98 kB / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.01067, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.01068, allocations: 0 / 0.9557 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.01081, allocations: 32.33 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01081, allocations: 0 / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.674e-05/0.0109, allocations: 43.91 kB / 0.9558 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.01091, allocations: 3.984 kB / 0.9558 GB, free: 13.85 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 (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 5.92e-05/0.01097, allocations: 117.7 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.01098, allocations: 4 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.01102, allocations: 11.98 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.01102, allocations: 0 / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01102, allocations: 4 kB / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.01103, allocations: 0 / 0.9559 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.01116, allocations: 164.7 kB / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.01116, allocations: 4 kB / 0.9561 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-05/0.01125, allocations: 31.94 kB / 0.9561 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01125, allocations: 4 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01126, allocations: 0 / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.01126, allocations: 0 / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01126, allocations: 3.938 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003994/0.01166, allocations: 315.2 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.01167, allocations: 7.938 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.01168, allocations: 0 / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01178, allocations: 31.94 kB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.01181, allocations: 4 kB / 0.9565 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.01182, allocations: 0 / 0.9565 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.01185, allocations: 95.27 kB / 0.9566 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01185, allocations: 4 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001563/0.01201, allocations: 15.95 kB / 0.9566 GB, free: 12.97 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 (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.0005486/0.01256, allocations: 0.8411 MB / 0.9574 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.01293, allocations: 191.8 kB / 0.9576 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01294, allocations: 0 / 0.9576 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.01311, allocations: 103.8 kB / 0.9577 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.01328, allocations: 11.94 kB / 0.9577 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.01513, allocations: 1.849 MB / 0.9595 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.223e-05/0.01518, allocations: 79.33 kB / 0.9596 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.741e-05/0.01523, allocations: 12 kB / 0.9596 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.01528, allocations: 24.81 kB / 0.9596 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.01528, allocations: 288 / 0.9596 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.02839, allocations: 2.679 MB / 0.9622 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.035, allocations: 13.02 kB / 0.9622 GB, free: 7.184 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.868498208001256]