Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008479/0.0008479, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005303/0.005303, allocations: 172.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.125/2.125, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5422/0.5426, allocations: 142.4 MB / 0.9552 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001105/0.5437, allocations: 1.178 MB / 0.9563 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.544, allocations: 143.1 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.544, allocations: 0 / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.5441, allocations: 4.969 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.5441, allocations: 0.875 kB / 0.9565 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.5443, allocations: 30.42 kB / 0.9565 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.928e-05/0.5444, allocations: 37.33 kB / 0.9565 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.5445, allocations: 21.92 kB / 0.9566 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.5445, allocations: 7.812 kB / 0.9566 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.391e-05/0.5445, allocations: 20.77 kB / 0.9566 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.5446, allocations: 5.5 kB / 0.9566 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.279e-05/0.5446, allocations: 39.67 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.5447, allocations: 1.062 kB / 0.9566 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.5447, allocations: 44.62 kB / 0.9567 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.672e-05/0.5448, allocations: 54.94 kB / 0.9567 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5448, allocations: 1.219 kB / 0.9567 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5448, allocations: 0 / 0.9567 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.5448, allocations: 0 / 0.9567 GB, free: 6.449 MB / 0.7169 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.000306/0.5451, allocations: 362.7 kB / 0.9571 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.5452, allocations: 9.531 kB / 0.9571 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.71e-05/0.5452, allocations: 36.78 kB / 0.9571 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.5462, allocations: 241.1 kB / 0.9573 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.099e-05/0.5463, allocations: 174.5 kB / 0.9575 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.5463, allocations: 8.375 kB / 0.9575 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.5463, allocations: 1.656 kB / 0.9575 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.5469, allocations: 215.6 kB / 0.9577 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.5469, allocations: 3.938 kB / 0.9577 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.5469, allocations: 1.406 kB / 0.9577 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5469, allocations: 3.938 kB / 0.9577 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/0.5478, allocations: 318.5 kB / 0.958 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.5485, allocations: 468.5 kB / 0.9585 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.5497, allocations: 336.3 kB / 0.9588 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.55, allocations: 125.3 kB / 0.9589 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.5501, allocations: 1.375 kB / 0.9589 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.132e-05/0.5501, allocations: 34.55 kB / 0.959 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.5501, allocations: 5.375 kB / 0.959 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.001136/0.5512, allocations: 364.9 kB / 0.9593 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.726e-05/0.5513, allocations: 51.41 kB / 0.9594 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.5513, allocations: 116.8 kB / 0.9595 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.5513, allocations: 26.58 kB / 0.9595 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.463e-05/0.5514, allocations: 90.64 kB / 0.9596 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.5514, allocations: 17.05 kB / 0.9596 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.5514, allocations: 10.75 kB / 0.9596 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.455e-05/0.5515, allocations: 316.4 kB / 0.9599 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.5518, allocations: 115.8 kB / 0.96 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.5522, allocations: 116.6 kB / 0.9601 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/0.5529, allocations: 206 kB / 0.9603 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5529, allocations: 7.938 kB / 0.9603 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007573/0.5537, allocations: 250.5 kB / 0.9606 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5537, allocations: 6.375 kB / 0.9606 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5537, allocations: 0 / 0.9606 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5537, allocations: 1.219 kB / 0.9606 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.554, allocations: 46.03 kB / 0.9606 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.554, allocations: 0.8125 kB / 0.9606 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.5542, allocations: 43.31 kB / 0.9607 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.5542, allocations: 5.016 kB / 0.9607 GB, free: 3.578 MB / 0.7169 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.894e-05/0.5543, allocations: 126.7 kB / 0.9608 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.5543, allocations: 2 kB / 0.9608 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.5543, allocations: 11.09 kB / 0.9608 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.5543, allocations: 3.938 kB / 0.9608 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.5544, allocations: 1.312 kB / 0.9608 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.5544, allocations: 0 / 0.9608 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.5545, allocations: 212.6 kB / 0.961 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5545, allocations: 0 / 0.961 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.5548, allocations: 52.16 kB / 0.9611 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.5548, allocations: 0 / 0.9611 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.5548, allocations: 1.25 kB / 0.9611 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5548, allocations: 4 kB / 0.9611 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5548, allocations: 7.938 kB / 0.9611 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.5556, allocations: 350.7 kB / 0.9614 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.5556, allocations: 82.23 kB / 0.9615 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.5556, allocations: 5.359 kB / 0.9615 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.5559, allocations: 34.8 kB / 0.9615 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.5559, allocations: 1.094 kB / 0.9615 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.5559, allocations: 1.719 kB / 0.9615 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.552e-05/0.556, allocations: 101.6 kB / 0.9616 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.556, allocations: 0 / 0.9616 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002272/0.5562, allocations: 16.22 kB / 0.9616 GB, free: 2.723 MB / 0.7169 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.0008974/0.5571, allocations: 0.8775 MB / 0.9625 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007464/0.5578, allocations: 232 kB / 0.9627 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5579, allocations: 1.281 kB / 0.9627 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.5582, allocations: 127.2 kB / 0.9628 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.5585, allocations: 4.641 kB / 0.9628 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.5615, allocations: 1.963 MB / 0.9648 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.5617, allocations: 0.6882 MB / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.233e-05/0.5618, allocations: 20.86 kB / 0.9655 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.5619, allocations: 17.56 kB / 0.9655 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.5619, allocations: 1.406 kB / 0.9655 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1543/0.7162, allocations: 1.671 MB / 0.9671 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.7164, allocations: 188 kB / 0.9673 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.353, allocations: 0 / 0.9673 GB, free: 14.46 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches