Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.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.00173/0.00173, allocations: 102.7 kB / 16.45 MB, free: 6.445 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.001884/0.001884, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.608/1.608, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.972/2.972, allocations: 497.2 MB / 0.7812 GB, free: 11.92 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.RegStep,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 63.89 kB / 1.134 GB, free: 13.11 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9945/0.9965, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002044/0.9986, allocations: 0.5844 MB / 1.305 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000299/0.9988, allocations: 50.89 kB / 1.305 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.9989, allocations: 0 / 1.305 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.382e-05/0.9989, allocations: 4 kB / 1.305 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-06/0.9989, allocations: 0 / 1.305 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.9992, allocations: 17.67 kB / 1.305 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.876e-05/0.9992, allocations: 0 / 1.305 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.229e-05/0.9993, allocations: 6.391 kB / 1.305 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.527e-05/0.9993, allocations: 0 / 1.305 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.871e-05/0.9993, allocations: 3.984 kB / 1.305 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.9994, allocations: 2.562 kB / 1.305 GB, free: 31.71 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.9995, allocations: 15.94 kB / 1.305 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.9995, allocations: 4 kB / 1.305 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.9995, allocations: 10.88 kB / 1.305 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.87e-05/0.9996, allocations: 12.78 kB / 1.305 GB, free: 31.69 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.9996, allocations: 0 / 1.305 GB, free: 31.69 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9996, allocations: 0 / 1.305 GB, free: 31.69 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.9996, allocations: 0 / 1.305 GB, free: 31.69 MB / 1.061 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.0002934/0.9999, allocations: 319.3 kB / 1.305 GB, free: 31.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1, allocations: 10.62 kB / 1.305 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/1, allocations: 30.75 kB / 1.305 GB, free: 31.3 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/1, allocations: 24.62 kB / 1.305 GB, free: 31.29 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.261e-05/1, allocations: 164 kB / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/1, allocations: 6.969 kB / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/1, allocations: 384 / 1.305 GB, free: 31.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/1.001, allocations: 32.47 kB / 1.305 GB, free: 31.06 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.001, allocations: 3.938 kB / 1.305 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/1.001, allocations: 2.812 kB / 1.305 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/1.001, allocations: 0 / 1.305 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.558e-05/1.001, allocations: 13.05 kB / 1.305 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/1.001, allocations: 149 kB / 1.305 GB, free: 30.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/1.001, allocations: 24.33 kB / 1.305 GB, free: 30.83 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.786e-05/1.001, allocations: 15.27 kB / 1.305 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/1.001, allocations: 0 / 1.305 GB, free: 30.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/1.001, allocations: 30.56 kB / 1.305 GB, free: 30.78 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/1.001, allocations: 4 kB / 1.305 GB, free: 30.78 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002424/1.001, allocations: 51.86 kB / 1.306 GB, free: 30.74 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/1.001, allocations: 51.41 kB / 1.306 GB, free: 30.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.141e-05/1.001, allocations: 92.48 kB / 1.306 GB, free: 30.58 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/1.001, allocations: 25.7 kB / 1.306 GB, free: 30.55 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.913e-05/1.001, allocations: 84.08 kB / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/1.001, allocations: 0 / 1.306 GB, free: 30.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/1.001, allocations: 19.64 kB / 1.306 GB, free: 30.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.223e-05/1.001, allocations: 310.8 kB / 1.306 GB, free: 30.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/1.001, allocations: 10.66 kB / 1.306 GB, free: 30.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-05/1.002, allocations: 8.547 kB / 1.306 GB, free: 30.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/1.002, allocations: 13.66 kB / 1.306 GB, free: 30.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/1.002, allocations: 0 / 1.306 GB, free: 30.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001043/1.002, allocations: 47.39 kB / 1.306 GB, free: 30.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.002, allocations: 8.672 kB / 1.306 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.002, allocations: 3.938 kB / 1.306 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/1.002, allocations: 0 / 1.306 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/1.002, allocations: 2.719 kB / 1.306 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.002, allocations: 0 / 1.306 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.329e-05/1.002, allocations: 2.562 kB / 1.306 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/1.002, allocations: 7.312 kB / 1.306 GB, free: 30.07 MB / 1.061 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 5.158e-05/1.002, allocations: 116.3 kB / 1.306 GB, free: 29.95 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/1.002, allocations: 0 / 1.306 GB, free: 29.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/1.002, allocations: 11.06 kB / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/1.002, allocations: 0 / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.002, allocations: 0 / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.002, allocations: 2.688 kB / 1.306 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.131e-05/1.002, allocations: 145.1 kB / 1.306 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.002, allocations: 0 / 1.306 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/1.002, allocations: 2.719 kB / 1.306 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/1.002, allocations: 4 kB / 1.306 GB, free: 29.74 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/1.002, allocations: 10.27 kB / 1.306 GB, free: 29.74 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.002, allocations: 0 / 1.306 GB, free: 29.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.002, allocations: 4 kB / 1.306 GB, free: 29.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/1.002, allocations: 67.48 kB / 1.307 GB, free: 29.66 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.91e-05/1.002, allocations: 80.48 kB / 1.307 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/1.002, allocations: 3.938 kB / 1.307 GB, free: 29.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.042e-05/1.002, allocations: 7.031 kB / 1.307 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/1.002, allocations: 3.938 kB / 1.307 GB, free: 29.56 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/1.002, allocations: 3.938 kB / 1.307 GB, free: 29.55 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.71e-05/1.002, allocations: 75.28 kB / 1.307 GB, free: 29.48 MB / 1.061 GB Notification: Performance of sort global known variables: time 4e-08/1.002, allocations: 3.938 kB / 1.307 GB, free: 29.48 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001999/1.003, allocations: 2.719 kB / 1.307 GB, free: 29.48 MB / 1.061 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.0003486/1.003, allocations: 0.606 MB / 1.307 GB, free: 28.88 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001483/1.003, allocations: 11.19 kB / 1.307 GB, free: 28.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.003, allocations: 0 / 1.307 GB, free: 28.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/1.003, allocations: 6.656 kB / 1.307 GB, free: 28.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/1.003, allocations: 10.14 kB / 1.307 GB, free: 28.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/1.004, allocations: 117.1 kB / 1.307 GB, free: 28.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/1.004, allocations: 0.6717 MB / 1.308 GB, free: 28.03 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.123e-05/1.004, allocations: 3.984 kB / 1.308 GB, free: 28.03 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/1.004, allocations: 13.02 kB / 1.308 GB, free: 28.02 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.004, allocations: 4 kB / 1.308 GB, free: 28.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/1.026, allocations: 0.956 MB / 1.309 GB, free: 27.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.89, allocations: 10.92 kB / 1.309 GB, free: 27.66 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegStep.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.605802196543664]