Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8935/0.8935, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.714/1.714, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.308e-05, allocations: 10.16 kB / 0.9506 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0009976/0.001011, allocations: 0.5878 MB / 0.9511 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001879/0.001199, allocations: 43.86 kB / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.374e-05/0.001212, allocations: 0 / 0.9512 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.001226, allocations: 4 kB / 0.9512 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.001233, allocations: 3.938 kB / 0.9512 GB, free: 2.797 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.001441, allocations: 11.98 kB / 0.9512 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 3.756e-05/0.001479, allocations: 0 / 0.9512 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.001517, allocations: 4 kB / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.001538, allocations: 0 / 0.9512 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.931e-05/0.001557, allocations: 3.938 kB / 0.9512 GB, free: 2.777 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.001572, allocations: 4 kB / 0.9512 GB, free: 2.773 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.013e-05/0.001662, allocations: 27.95 kB / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.001673, allocations: 0 / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.268e-05/0.001686, allocations: 0 / 0.9512 GB, free: 2.746 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 7.455e-05/0.001761, allocations: 19.92 kB / 0.9512 GB, free: 2.727 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.001764, allocations: 3.984 kB / 0.9512 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.12e-07/0.001765, allocations: 0 / 0.9512 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.001768, allocations: 0 / 0.9512 GB, free: 2.723 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001958/0.001964, allocations: 238.4 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.001998, allocations: 11.97 kB / 0.9515 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.518e-05/0.002023, allocations: 30.75 kB / 0.9515 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.002192, allocations: 24.91 kB / 0.9515 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.093e-05/0.002243, allocations: 105.8 kB / 0.9516 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.002252, allocations: 384 / 0.9516 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.002258, allocations: 384 / 0.9516 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.22e-05/0.00235, allocations: 34.25 kB / 0.9517 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.002357, allocations: 192 / 0.9517 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.002364, allocations: 4.375 kB / 0.9517 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.00237, allocations: 4.125 kB / 0.9517 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.002415, allocations: 15.98 kB / 0.9517 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.532e-05/0.002511, allocations: 120.7 kB / 0.9518 GB, free: 2.031 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.933e-05/0.00256, allocations: 26.53 kB / 0.9518 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.002589, allocations: 8.844 kB / 0.9518 GB, free: 1.984 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.002605, allocations: 4.062 kB / 0.9519 GB, free: 1.98 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.00262, allocations: 30.56 kB / 0.9519 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.002621, allocations: 0 / 0.9519 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.002774, allocations: 53.67 kB / 0.9519 GB, free: 1.883 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.002802, allocations: 59.28 kB / 0.952 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.167e-05/0.002824, allocations: 89.86 kB / 0.9521 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.002833, allocations: 29.64 kB / 0.9521 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.646e-05/0.002849, allocations: 80.14 kB / 0.9522 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.002872, allocations: 3.938 kB / 0.9522 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.002894, allocations: 13.72 kB / 0.9522 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.00296, allocations: 318.8 kB / 0.9525 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.563e-05/0.002986, allocations: 4 kB / 0.9525 GB, free: 1.25 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.003006, allocations: 12.11 kB / 0.9525 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.003054, allocations: 12.86 kB / 0.9525 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.003057, allocations: 3.984 kB / 0.9525 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.167e-05/0.003118, allocations: 37.69 kB / 0.9526 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.003129, allocations: 7.938 kB / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.003133, allocations: 0 / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.003142, allocations: 96 / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.493e-05/0.003187, allocations: 12 kB / 0.9526 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.003192, allocations: 3.938 kB / 0.9526 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.003209, allocations: 7.984 kB / 0.9526 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.003214, allocations: 0 / 0.9526 GB, free: 1.145 MB / 0.9011 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 (1): * Single equations (assignments): 1 * 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 4.367e-05/0.003257, allocations: 109.8 kB / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-06/0.003261, allocations: 0 / 0.9527 GB, free: 1.027 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.003285, allocations: 7 kB / 0.9527 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.003286, allocations: 0 / 0.9527 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.00329, allocations: 7.875 kB / 0.9527 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.003292, allocations: 4 kB / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.284e-05/0.003345, allocations: 116.8 kB / 0.9528 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.003345, allocations: 0 / 0.9528 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.631e-05/0.003362, allocations: 4 kB / 0.9528 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.003363, allocations: 0 / 0.9528 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.003368, allocations: 0 / 0.9528 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.003369, allocations: 0 / 0.9528 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.00337, allocations: 7.938 kB / 0.9528 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.043e-05/0.00345, allocations: 69.05 kB / 0.9529 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-06/0.003455, allocations: 8.031 kB / 0.9529 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.665e-06/0.003463, allocations: 0 / 0.9529 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.003475, allocations: 0 / 0.9529 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.003485, allocations: 3.938 kB / 0.9529 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-06/0.00349, allocations: 7.984 kB / 0.9529 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 1.801e-05/0.003508, allocations: 79.22 kB / 0.953 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003508, allocations: 0 / 0.953 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001194/0.003627, allocations: 0 / 0.953 GB, free: 0.6602 MB / 0.9011 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 (1): * Single equations (assignments): 1 * 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.0002235/0.003851, allocations: 0.593 MB / 0.9536 GB, free: 36 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.003934, allocations: 15.92 kB / 0.9536 GB, free: 20 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.003935, allocations: 4 kB / 0.9536 GB, free: 16 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.003954, allocations: 7.984 kB / 0.9536 GB, free: 8 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.273e-05/0.004047, allocations: 6.594 kB / 0.9536 GB, free: 4 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.004293, allocations: 110.6 kB / 0.9537 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.001e-05/0.004323, allocations: 59.5 kB / 0.9538 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.004344, allocations: 4 kB / 0.9538 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.004368, allocations: 12.5 kB / 0.9538 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of SimCode: time 2.9e-07/0.004369, allocations: 0 / 0.9538 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01391/0.01828, allocations: 1.594 MB / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.813/6.831, allocations: 12.72 kB / 0.9554 GB, free: 14.29 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.RegStep.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: 10.810259446501732]