Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001291/0.001291, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001402/0.001402, allocations: 201 kB / 22.17 MB, free: 5.211 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.462/1.462, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.91 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8158/0.8178, allocations: 168.7 MB / 1.274 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002011/0.8198, allocations: 0.6318 MB / 1.275 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.8208, allocations: 0.8273 MB / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.352e-05/0.8208, allocations: 0 / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.8209, allocations: 0 / 1.275 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.586e-05/0.8209, allocations: 7.938 kB / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001404/0.8211, allocations: 11.98 kB / 1.275 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.8212, allocations: 31.91 kB / 1.276 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.8212, allocations: 4 kB / 1.276 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.877e-05/0.8213, allocations: 15.94 kB / 1.276 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.8214, allocations: 11.98 kB / 1.276 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.8214, allocations: 3.938 kB / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.8214, allocations: 4 kB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.8214, allocations: 3.984 kB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.8214, allocations: 15.92 kB / 1.276 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.9e-05/0.8215, allocations: 15.97 kB / 1.276 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8215, allocations: 0 / 1.276 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.957e-06/0.8215, allocations: 3.984 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.8215, allocations: 0 / 1.276 GB, free: 2.977 MB / 0.9669 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.0005349/0.8221, allocations: 346.1 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.8221, allocations: 11.97 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.8221, allocations: 4.891 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.8224, allocations: 164.4 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.8224, allocations: 4.375 kB / 1.276 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.8224, allocations: 4.312 kB / 1.276 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.8226, allocations: 50.23 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8226, allocations: 8.109 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.8226, allocations: 7.938 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.8226, allocations: 4 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.8228, allocations: 27.97 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.8232, allocations: 252.9 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.8233, allocations: 42.48 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.642e-05/0.8234, allocations: 28.91 kB / 1.276 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.8234, allocations: 0 / 1.276 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.8235, allocations: 30.56 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8235, allocations: 0 / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003797/0.8239, allocations: 89.56 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.8239, allocations: 55.53 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.824, allocations: 101.9 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.824, allocations: 25.7 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.8241, allocations: 88.09 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.8241, allocations: 3.938 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.8241, allocations: 17.7 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.8243, allocations: 314.8 kB / 1.277 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.8244, allocations: 19.98 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.8244, allocations: 19.97 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.8246, allocations: 36.83 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8246, allocations: 0 / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002314/0.8248, allocations: 81.55 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.8249, allocations: 4 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8249, allocations: 8 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.8249, allocations: 0 / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.825, allocations: 11.98 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.825, allocations: 0 / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.825, allocations: 7.984 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.825, allocations: 0 / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * 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 8.362e-05/0.8251, allocations: 117.8 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.8252, allocations: 0 / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.031e-05/0.8252, allocations: 7.125 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8252, allocations: 8.172 kB / 1.277 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.8252, allocations: 3.938 kB / 1.277 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.8252, allocations: 3.984 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.8254, allocations: 161.6 kB / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8254, allocations: 0 / 1.278 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.8255, allocations: 11.98 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.8255, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.8255, allocations: 0 / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.8255, allocations: 4 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.8255, allocations: 3.938 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.8257, allocations: 171.4 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.8258, allocations: 85.06 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.8258, allocations: 0 / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.8259, allocations: 8.031 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.826, allocations: 7.984 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.826, allocations: 4 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.826, allocations: 75.28 kB / 1.278 GB, free: 172 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.826, allocations: 4 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000212/0.8262, allocations: 0 / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * 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.000115/0.8263, allocations: 103.8 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002559/0.8266, allocations: 47.89 kB / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8266, allocations: 0 / 1.278 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.8267, allocations: 20.05 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.827, allocations: 9.438 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.8273, allocations: 113.4 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.8277, allocations: 0.6808 MB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.8277, allocations: 4 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.8277, allocations: 7.438 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8277, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.003209/0.8309, allocations: 0.6117 MB / 1.28 GB, free: 14.52 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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: 8.59831293206662]