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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 110.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 71.89 kB / 1.104 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9529, allocations: 168.7 MB / 1.269 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002535/0.9554, allocations: 1.43 MB / 1.27 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.9562, allocations: 474.8 kB / 1.271 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.9563, allocations: 0 / 1.271 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.9563, allocations: 7.938 kB / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.227e-05/0.9563, allocations: 0 / 1.271 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.9565, allocations: 27.91 kB / 1.271 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.9566, allocations: 27.92 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.154e-05/0.9567, allocations: 0 / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.268e-05/0.9567, allocations: 11.98 kB / 1.271 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.9568, allocations: 15.92 kB / 1.271 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.9568, allocations: 4 kB / 1.271 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.9569, allocations: 19.92 kB / 1.271 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.9569, allocations: 4 kB / 1.271 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.9569, allocations: 19.92 kB / 1.271 GB, free: 3.117 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.957, allocations: 29.72 kB / 1.271 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.957, allocations: 0 / 1.271 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.813e-06/0.957, allocations: 0 / 1.271 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.957, allocations: 0 / 1.271 GB, free: 3.09 MB / 0.9669 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.0004584/0.9575, allocations: 349.6 kB / 1.271 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9575, allocations: 8.031 kB / 1.271 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.9575, allocations: 38.75 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.305e-05/0.9576, allocations: 4.891 kB / 1.271 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.9577, allocations: 176.2 kB / 1.271 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.9577, allocations: 8.312 kB / 1.271 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-06/0.9577, allocations: 384 / 1.271 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.9579, allocations: 57.73 kB / 1.271 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9579, allocations: 3.984 kB / 1.271 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.9579, allocations: 0 / 1.271 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.9579, allocations: 0 / 1.271 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.9581, allocations: 31.97 kB / 1.271 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.9584, allocations: 252.9 kB / 1.272 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.9585, allocations: 38.5 kB / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.638e-05/0.9586, allocations: 22.45 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.9587, allocations: 89.08 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.9588, allocations: 34.56 kB / 1.272 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.9588, allocations: 4 kB / 1.272 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003313/0.9591, allocations: 81.59 kB / 1.272 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.9591, allocations: 59.34 kB / 1.272 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.9592, allocations: 101.8 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.9592, allocations: 25.7 kB / 1.272 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.9593, allocations: 92.27 kB / 1.272 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.9593, allocations: 3.953 kB / 1.272 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.9593, allocations: 9.719 kB / 1.272 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9595, allocations: 318.8 kB / 1.272 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.9595, allocations: 19.97 kB / 1.273 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.9596, allocations: 12.23 kB / 1.273 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.9598, allocations: 44.89 kB / 1.273 GB, free: 1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.9598, allocations: 4 kB / 1.273 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002802/0.96, allocations: 69.59 kB / 1.273 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.9601, allocations: 4 kB / 1.273 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.9601, allocations: 0 / 1.273 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.9601, allocations: 4 kB / 1.273 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.9602, allocations: 12.02 kB / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.9602, allocations: 0 / 1.273 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.9602, allocations: 4 kB / 1.273 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.9602, allocations: 3.984 kB / 1.273 GB, free: 0.8945 MB / 0.9669 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 8.286e-05/0.9603, allocations: 117.8 kB / 1.273 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.9603, allocations: 3.953 kB / 1.273 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.9605, allocations: 76.77 kB / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9605, allocations: 0 / 1.273 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.9605, allocations: 3.938 kB / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.9605, allocations: 0 / 1.273 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.9607, allocations: 161.6 kB / 1.273 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9607, allocations: 0 / 1.273 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.9608, allocations: 15.94 kB / 1.273 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.9608, allocations: 3.938 kB / 1.273 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.9608, allocations: 3.984 kB / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9608, allocations: 0 / 1.273 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9608, allocations: 4.031 kB / 1.273 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.961, allocations: 159.5 kB / 1.273 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.9611, allocations: 81.11 kB / 1.273 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.9611, allocations: 0 / 1.273 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.9611, allocations: 8 kB / 1.273 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.9612, allocations: 8.016 kB / 1.273 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.9612, allocations: 0 / 1.273 GB, free: 164 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.9612, allocations: 79.28 kB / 1.273 GB, free: 84 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.9612, allocations: 0 / 1.273 GB, free: 84 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002218/0.9614, allocations: 11.94 kB / 1.273 GB, free: 72 kB / 0.9669 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.0006114/0.9621, allocations: 0.7128 MB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.9622, allocations: 31.97 kB / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.9622, allocations: 0 / 1.274 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.9623, allocations: 19.92 kB / 1.274 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.9626, allocations: 12.33 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.963, allocations: 146.9 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.9633, allocations: 0.6768 MB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.9633, allocations: 4 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.9634, allocations: 7.438 kB / 1.275 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.9634, allocations: 0 / 1.275 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.9869, allocations: 1.44 MB / 1.276 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/9.134, allocations: 5.516 kB / 1.276 GB, free: 13.01 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 15.353336668107659]