Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.004757/0.004757, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001135/0.001135, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 72.09 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.421, allocations: 157.4 MB / 1.207 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001702/0.4227, allocations: 0.5874 MB / 1.208 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.4242, allocations: 1.112 MB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.4242, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.4243, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.4245, allocations: 23.86 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.467e-06/0.4245, allocations: 0 / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.4246, allocations: 7.984 kB / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.014e-05/0.4247, allocations: 0 / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.4247, allocations: 0 / 1.209 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.4247, allocations: 7.984 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.183e-06/0.4247, allocations: 4 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.4248, allocations: 19.92 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.714e-06/0.4248, allocations: 3.938 kB / 1.209 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.4249, allocations: 7.984 kB / 1.209 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.563e-05/0.425, allocations: 11.98 kB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.425, allocations: 4 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.425, allocations: 0 / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.425, allocations: 0 / 1.209 GB, free: 8.34 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.0002658/0.4253, allocations: 315.6 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4253, allocations: 8.625 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.4253, allocations: 34.75 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.4254, allocations: 4.938 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.731e-05/0.4255, allocations: 160.4 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.4255, allocations: 8.25 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.4255, allocations: 384 / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.357e-05/0.4256, allocations: 41.81 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4256, allocations: 3.906 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.4256, allocations: 4 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4257, allocations: 3.938 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.4257, allocations: 4 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.4258, allocations: 153.7 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.426, allocations: 38.55 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/0.4261, allocations: 8.859 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.4262, allocations: 85.19 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.4263, allocations: 38.5 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4263, allocations: 4 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.004471/0.4307, allocations: 0.5758 MB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.4308, allocations: 51.41 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.427e-05/0.4308, allocations: 89.86 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.4309, allocations: 29.7 kB / 1.211 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.4309, allocations: 80.14 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.823e-05/0.431, allocations: 11.81 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.235e-05/0.431, allocations: 25.7 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4312, allocations: 310.8 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.4318, allocations: 83.95 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/0.4325, allocations: 98.53 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.4337, allocations: 194.4 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4337, allocations: 0 / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001366/0.4351, allocations: 217.4 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4351, allocations: 12.06 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4351, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4352, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/0.4356, allocations: 51.97 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.4356, allocations: 3.938 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.436, allocations: 47.97 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.436, allocations: 0 / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.96e-05/0.4361, allocations: 109.8 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.4362, allocations: 3.938 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.4376, allocations: 241.1 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4376, allocations: 7.938 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4376, allocations: 0 / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4376, allocations: 0 / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.4392, allocations: 458.4 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4392, allocations: 0 / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.4396, allocations: 51.97 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4397, allocations: 0 / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4397, allocations: 4.297 kB / 1.213 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4397, allocations: 4 kB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4397, allocations: 0 / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.4411, allocations: 311.3 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/0.4411, allocations: 84.95 kB / 1.213 GB, free: 3.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.4411, allocations: 4 kB / 1.213 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003993/0.4416, allocations: 39.98 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.4416, allocations: 3.984 kB / 1.213 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.4416, allocations: 4 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.532e-05/0.4416, allocations: 75.28 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4416, allocations: 4 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000262/0.4419, allocations: 15.94 kB / 1.213 GB, free: 3.824 MB / 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 (5): * Single equations (assignments): 5 * 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.001735/0.4436, allocations: 0.8373 MB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001364/0.445, allocations: 184 kB / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.445, allocations: 0 / 1.214 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006758/0.4457, allocations: 96.02 kB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.446, allocations: 0 / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.4474, allocations: 250.5 kB / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4477, allocations: 0.6768 MB / 1.215 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.4479, allocations: 28 kB / 1.215 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.4479, allocations: 11.42 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of SimCode: time 5.81e-07/0.4479, allocations: 4 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.4654, allocations: 1.636 MB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.639/8.105, allocations: 27.55 kB / 1.217 GB, free: 128 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches