Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_10_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.008311/0.008311, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001869/0.001869, allocations: 195.1 kB / 16.67 MB, free: 5.52 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.529/2.529, allocations: 437 MB / 0.7105 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 67.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7455/0.7468, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001705/0.7486, allocations: 0.5828 MB / 1.167 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.7499, allocations: 1.112 MB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.75, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.564e-05/0.75, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.7503, allocations: 19.92 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.759e-06/0.7503, allocations: 8 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.207e-05/0.7503, allocations: 3.938 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.7504, allocations: 7.922 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.61e-05/0.7504, allocations: 4 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.056e-05/0.7504, allocations: 0 / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.934e-06/0.7505, allocations: 0 / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.7506, allocations: 19.97 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.663e-06/0.7506, allocations: 0 / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.7506, allocations: 11.88 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.461e-05/0.7507, allocations: 11.98 kB / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7507, allocations: 0 / 1.168 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7507, allocations: 4 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.7507, allocations: 0 / 1.168 GB, free: 2.004 MB / 0.8887 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.0002558/0.751, allocations: 319.6 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.751, allocations: 12.92 kB / 1.168 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.056e-05/0.7511, allocations: 30.75 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.7511, allocations: 4.922 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.12e-05/0.7512, allocations: 160.4 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.7512, allocations: 384 / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.7512, allocations: 8.312 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.7513, allocations: 45.81 kB / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7514, allocations: 0 / 1.168 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.7514, allocations: 3.938 kB / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.7514, allocations: 0 / 1.168 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.426e-05/0.7514, allocations: 7.984 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.7515, allocations: 157.6 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.7517, allocations: 34.61 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.7517, allocations: 8.859 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.7519, allocations: 89.12 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.7519, allocations: 42.44 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7519, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.004607/0.7565, allocations: 0.5659 MB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.7566, allocations: 51.41 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.491e-05/0.7566, allocations: 93.86 kB / 1.17 GB, free: 180 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.7567, allocations: 29.7 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.7567, allocations: 80.14 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.7567, allocations: 15.75 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.7568, allocations: 21.7 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7569, allocations: 310.8 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006378/0.7576, allocations: 87.95 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006266/0.7582, allocations: 98.53 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.7595, allocations: 194.4 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7595, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001359/0.7608, allocations: 217.5 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.7609, allocations: 6.344 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7609, allocations: 0 / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.7609, allocations: 4 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.7613, allocations: 48 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.7614, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.7617, allocations: 47.97 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.7617, allocations: 4 kB / 1.171 GB, free: 14.99 MB / 0.9044 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.748e-05/0.7618, allocations: 105.8 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.7619, allocations: 12.03 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.7633, allocations: 245 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7633, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.7633, allocations: 432 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7634, allocations: 0 / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.7649, allocations: 462.4 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.7649, allocations: 4 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.7653, allocations: 43.98 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.7654, allocations: 3.984 kB / 1.171 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.7654, allocations: 7.922 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7654, allocations: 0 / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.7654, allocations: 0 / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.7668, allocations: 307.3 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.7668, allocations: 81.11 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.7669, allocations: 4 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.7673, allocations: 39.98 kB / 1.172 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.7673, allocations: 11.92 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.7673, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.7674, allocations: 75.28 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7674, allocations: 0 / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002797/0.7677, allocations: 12 kB / 1.172 GB, free: 13.49 MB / 0.9044 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.001765/0.7694, allocations: 0.8412 MB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.7708, allocations: 184.1 kB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7708, allocations: 4 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.7714, allocations: 92.08 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.7717, allocations: 4 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.7731, allocations: 254.6 kB / 1.173 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.7734, allocations: 0.6729 MB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.7736, allocations: 28.25 kB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.03e-05/0.7736, allocations: 15.42 kB / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/0.7737, allocations: 0 / 1.174 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.7905, allocations: 1.644 MB / 1.176 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.817, allocations: 13.58 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches