Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothHeaviside",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.0007943/0.0007944, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005268/0.005268, allocations: 170 kB / 16.26 MB, free: 6.613 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.485/2.485, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003641, allocations: 15.98 kB / 0.8729 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6306, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001351/0.632, allocations: 1.168 MB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006618/0.6326, allocations: 459.8 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.929e-05/0.6327, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.6327, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.595e-05/0.6328, allocations: 3.938 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.6329, allocations: 19.98 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.953e-05/0.633, allocations: 15.94 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.633, allocations: 15.98 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.83e-05/0.6331, allocations: 11.92 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.6331, allocations: 11.98 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.6331, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.835e-05/0.6332, allocations: 19.92 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.6332, allocations: 7.938 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.6333, allocations: 37.62 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.654e-05/0.6333, allocations: 27.95 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.6334, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.484e-06/0.6334, allocations: 4 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.6334, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 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.0003302/0.6337, allocations: 345.7 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.6337, allocations: 8.031 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.6338, allocations: 38.69 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.6338, allocations: 8.844 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.638e-05/0.6339, allocations: 168.3 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.6339, allocations: 384 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.6339, allocations: 4.375 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.6341, allocations: 65.73 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.6341, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.6341, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.6341, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.6343, allocations: 43.97 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.6346, allocations: 256.9 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.6347, allocations: 38.56 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.104e-05/0.6348, allocations: 48.83 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.6349, allocations: 77.11 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.6349, allocations: 34.56 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6349, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003356/0.6353, allocations: 97.64 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.6353, allocations: 51.41 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.368e-05/0.6354, allocations: 105.8 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.6354, allocations: 25.83 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.6354, allocations: 92.05 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.6355, allocations: 4 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.933e-05/0.6355, allocations: 9.719 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/0.6356, allocations: 318.8 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.6357, allocations: 27.92 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.405e-05/0.6357, allocations: 19.98 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.6359, allocations: 48.83 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.6359, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002023/0.6361, allocations: 85.62 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6361, allocations: 4 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.6361, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.6362, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.889e-05/0.6362, allocations: 16.02 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.6363, allocations: 0 / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.6363, allocations: 11.98 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.349e-06/0.6363, allocations: 7.875 kB / 1.027 GB, free: 11.75 MB / 0.7794 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 5.815e-05/0.6364, allocations: 118.3 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.6364, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.6366, allocations: 80.78 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6367, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.6367, allocations: 3.938 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.6367, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.6368, allocations: 165.6 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6368, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.6369, allocations: 16.02 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.6369, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6369, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6369, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6369, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.6371, allocations: 179.4 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.992e-05/0.6372, allocations: 81.02 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.6372, allocations: 0 / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.433e-05/0.6373, allocations: 11.98 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.6373, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.6373, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.6373, allocations: 87.56 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6374, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002107/0.6376, allocations: 8 kB / 1.028 GB, free: 10.9 MB / 0.7794 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.0004509/0.638, allocations: 0.7124 MB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.6382, allocations: 47.97 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.6382, allocations: 4.094 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.6383, allocations: 23.97 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.6386, allocations: 9.812 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.6389, allocations: 150.2 kB / 1.028 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.6391, allocations: 0.6849 MB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.6391, allocations: 3.984 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.6392, allocations: 7.438 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6392, allocations: 0 / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3047/0.9439, allocations: 1.157 MB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001674/0.9441, allocations: 203.2 kB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/3.092, allocations: 3.938 kB / 1.031 GB, free: 7.875 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothHeaviside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches