Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001621/0.001621, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002098/0.002098, allocations: 214.8 kB / 23.04 MB, free: 5.074 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",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.002048/0.002048, allocations: 59.84 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4112, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.003008/0.4142, allocations: 1.467 MB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009787/0.4152, allocations: 0.5006 MB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.4152, allocations: 4 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.4152, allocations: 4 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.63e-05/0.4153, allocations: 7.938 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.4155, allocations: 23.86 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.4156, allocations: 31.84 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.4157, allocations: 4 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.4158, allocations: 11.98 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.272e-05/0.4158, allocations: 11.94 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.4158, allocations: 0 / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.766e-05/0.4159, allocations: 27.91 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.4159, allocations: 4 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.416, allocations: 11.94 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.4161, allocations: 35.41 kB / 1.286 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4161, allocations: 3.984 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4161, allocations: 0 / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4161, allocations: 0 / 1.286 GB, free: 9.594 MB / 0.9825 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.0004683/0.4166, allocations: 268.3 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4166, allocations: 8.031 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.616e-05/0.4166, allocations: 192 / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.376e-05/0.4167, allocations: 38.75 kB / 1.287 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.4167, allocations: 4.938 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.4168, allocations: 106.5 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.4168, allocations: 4.375 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.4168, allocations: 4.312 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.417, allocations: 53.61 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.417, allocations: 0 / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.417, allocations: 0 / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.417, allocations: 0 / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.4172, allocations: 39.95 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.4176, allocations: 220 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.4177, allocations: 42.48 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.462e-05/0.4178, allocations: 24.91 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-05/0.4179, allocations: 8 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.4179, allocations: 30.56 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4179, allocations: 0 / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000365/0.4183, allocations: 81.64 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.4183, allocations: 55.34 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.4184, allocations: 109.9 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.4184, allocations: 29.7 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.4185, allocations: 88.08 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.4185, allocations: 7.938 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.4186, allocations: 13.72 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4187, allocations: 322.8 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.4188, allocations: 11.98 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.4189, allocations: 23.98 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.419, allocations: 40.75 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.419, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.4192, allocations: 65.62 kB / 1.288 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4192, allocations: 10.34 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4192, allocations: 96 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4193, allocations: 7.984 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.787e-05/0.4193, allocations: 7.938 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4194, allocations: 0 / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.4194, allocations: 7.984 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.4194, allocations: 4 kB / 1.288 GB, free: 7.699 MB / 0.9825 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 7.872e-05/0.4195, allocations: 113.8 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.4195, allocations: 0 / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.4197, allocations: 76.97 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4197, allocations: 0 / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.4197, allocations: 3.984 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4197, allocations: 0 / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.4199, allocations: 132.7 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.4199, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.691e-05/0.42, allocations: 7.984 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.42, allocations: 3.938 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.42, allocations: 7.984 kB / 1.288 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.42, allocations: 4.031 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.42, allocations: 0 / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.4202, allocations: 163.5 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.4202, allocations: 3.953 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.4203, allocations: 256 / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.4203, allocations: 19.95 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.4204, allocations: 4 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4204, allocations: 0 / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.4204, allocations: 87.27 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4204, allocations: 0 / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002227/0.4206, allocations: 4 kB / 1.289 GB, free: 7.008 MB / 0.9825 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.0006243/0.4213, allocations: 0.7045 MB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4215, allocations: 35.95 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4215, allocations: 0 / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.4216, allocations: 19.98 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.4219, allocations: 8.156 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.4224, allocations: 143.1 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.4227, allocations: 0.6806 MB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.4227, allocations: 0 / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.4227, allocations: 15.44 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of SimCode: time 4.6e-07/0.4227, allocations: 0 / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.4463, allocations: 1.562 MB / 1.292 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.71, allocations: 4.562 kB / 1.292 GB, free: 3.887 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.84860057098558]