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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 111.6 kB / 16.46 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.002082/0.002082, 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.448/1.448, 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 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.89 kB / 1.056 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9477/0.9498, allocations: 160.7 MB / 1.213 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001772/0.9516, allocations: 0.6072 MB / 1.214 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.9532, allocations: 1.105 MB / 1.215 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.9532, allocations: 0 / 1.215 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.9532, allocations: 0 / 1.215 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.9534, allocations: 23.27 kB / 1.215 GB, free: 2.477 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 2.746e-06/0.9534, allocations: 3.938 kB / 1.215 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.029e-05/0.9535, allocations: 14.05 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.71e-05/0.9535, allocations: 2.656 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.155e-05/0.9535, allocations: 0 / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.972e-05/0.9535, allocations: 1.219 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.392e-06/0.9535, allocations: 0 / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.9536, allocations: 24.19 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.44e-06/0.9536, allocations: 1.031 kB / 1.215 GB, free: 2.445 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.9537, allocations: 5 kB / 1.215 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.941e-05/0.9537, allocations: 15.16 kB / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9537, allocations: 0 / 1.215 GB, free: 2.434 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.72e-07/0.9537, allocations: 4 kB / 1.215 GB, free: 2.43 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.647e-06/0.9537, allocations: 0 / 1.215 GB, free: 2.43 MB / 0.92 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.0003/0.954, allocations: 322.8 kB / 1.215 GB, free: 2.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.9541, allocations: 10.62 kB / 1.215 GB, free: 2.074 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.9541, allocations: 30.75 kB / 1.215 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.947e-05/0.9541, allocations: 5.984 kB / 1.215 GB, free: 2.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.9543, allocations: 160.4 kB / 1.215 GB, free: 1.836 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.9543, allocations: 5.422 kB / 1.215 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.9543, allocations: 1.594 kB / 1.215 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.847e-05/0.9544, allocations: 45.95 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.9544, allocations: 1.156 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.9544, allocations: 0 / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.9544, allocations: 0.8438 kB / 1.215 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.09e-05/0.9545, allocations: 8.234 kB / 1.215 GB, free: 1.781 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.9546, allocations: 155.8 kB / 1.215 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.9548, allocations: 33.64 kB / 1.215 GB, free: 1.551 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.192e-05/0.9548, allocations: 20.22 kB / 1.215 GB, free: 1.531 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.9549, allocations: 87.78 kB / 1.216 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.9549, allocations: 35.38 kB / 1.216 GB, free: 1.387 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.9549, allocations: 0 / 1.216 GB, free: 1.387 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.004472/0.9594, allocations: 0.5688 MB / 1.216 GB, free: 1.207 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.9595, allocations: 52.53 kB / 1.216 GB, free: 1.145 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.542e-05/0.9595, allocations: 89.86 kB / 1.216 GB, free: 1.047 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.9595, allocations: 30.95 kB / 1.216 GB, free: 1.012 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.9596, allocations: 80.14 kB / 1.216 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.9596, allocations: 22.56 kB / 1.216 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.9597, allocations: 17.81 kB / 1.216 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9598, allocations: 312 kB / 1.217 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/0.9604, allocations: 82.27 kB / 1.217 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.961, allocations: 107.7 kB / 1.217 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.9622, allocations: 191.8 kB / 1.217 GB, free: 448 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.9622, allocations: 0 / 1.217 GB, free: 448 kB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001251/0.9635, allocations: 214.6 kB / 1.217 GB, free: 364 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.9635, allocations: 5.719 kB / 1.217 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.9635, allocations: 0 / 1.217 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.9635, allocations: 1.156 kB / 1.217 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.9639, allocations: 50.81 kB / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.9639, allocations: 5.078 kB / 1.217 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.9643, allocations: 38.14 kB / 1.217 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.9643, allocations: 7.125 kB / 1.217 GB, free: 336 kB / 0.92 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 0.0001014/0.9644, allocations: 111.2 kB / 1.218 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2e-05/0.9644, allocations: 5.031 kB / 1.218 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.9658, allocations: 247.2 kB / 1.218 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9658, allocations: 1.25 kB / 1.218 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.9658, allocations: 0 / 1.218 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.9658, allocations: 0 / 1.218 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.9674, allocations: 463.5 kB / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.9674, allocations: 0 / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.9678, allocations: 45.41 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9678, allocations: 4 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.9678, allocations: 5.312 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9678, allocations: 0 / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.9678, allocations: 1.406 kB / 1.218 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.9691, allocations: 305.5 kB / 1.219 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.9691, allocations: 78.36 kB / 1.219 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.9692, allocations: 4 kB / 1.219 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.9695, allocations: 43.38 kB / 1.219 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.9695, allocations: 5.344 kB / 1.219 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.9695, allocations: 5.156 kB / 1.219 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.9696, allocations: 76.5 kB / 1.219 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9696, allocations: 0 / 1.219 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002506/0.9698, allocations: 12.81 kB / 1.219 GB, free: 15.32 MB / 0.9356 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.001679/0.9715, allocations: 0.8462 MB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.9728, allocations: 172.9 kB / 1.22 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9728, allocations: 1.094 kB / 1.22 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006065/0.9734, allocations: 91.52 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.9736, allocations: 7.75 kB / 1.22 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.975, allocations: 256.2 kB / 1.22 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.9753, allocations: 0.6724 MB / 1.221 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001844/0.9755, allocations: 32.67 kB / 1.221 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.9755, allocations: 10 kB / 1.221 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.9755, allocations: 0 / 1.221 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02287/0.9984, allocations: 1.655 MB / 1.222 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.187/9.185, allocations: 6.422 kB / 1.222 GB, free: 12.71 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.252850356977433]