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.001407/0.001407, allocations: 110 kB / 18.93 MB, free: 2.945 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.00159/0.00159, allocations: 191.7 kB / 22.23 MB, free: 5.16 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.531/1.531, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.783/2.783, allocations: 476.7 MB / 0.7646 GB, free: 9.852 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002102/0.002102, allocations: 59.91 kB / 1.109 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.137, allocations: 168.8 MB / 1.274 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00207/1.139, allocations: 0.629 MB / 1.275 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0011/1.14, allocations: 0.8273 MB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/1.14, allocations: 4 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/1.14, allocations: 3.938 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/1.14, allocations: 3.938 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/1.141, allocations: 11.98 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/1.141, allocations: 31.92 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/1.141, allocations: 4 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/1.141, allocations: 11.94 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/1.141, allocations: 15.97 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/1.141, allocations: 0 / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/1.141, allocations: 4 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.523e-05/1.141, allocations: 7.922 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/1.141, allocations: 12 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/1.141, allocations: 23.91 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.141, allocations: 0 / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.452e-06/1.141, allocations: 0 / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.141, allocations: 0 / 1.276 GB, free: 2.613 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.0005518/1.142, allocations: 264.7 kB / 1.276 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.142, allocations: 8.031 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/1.142, allocations: 4.891 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/1.142, allocations: 118.5 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/1.142, allocations: 384 / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/1.142, allocations: 4.312 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/1.142, allocations: 50.23 kB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.142, allocations: 4.188 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/1.142, allocations: 3.938 kB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/1.142, allocations: 3.938 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/1.142, allocations: 35.95 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/1.143, allocations: 224 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/1.143, allocations: 42.44 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/1.143, allocations: 32.83 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/1.143, allocations: 0 / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/1.143, allocations: 34.56 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/1.143, allocations: 0 / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003943/1.143, allocations: 85.64 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/1.144, allocations: 51.41 kB / 1.277 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/1.144, allocations: 105.8 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/1.144, allocations: 25.7 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/1.144, allocations: 92.16 kB / 1.277 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/1.144, allocations: 4 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/1.144, allocations: 13.72 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.144, allocations: 314.8 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/1.144, allocations: 19.98 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/1.144, allocations: 15.98 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/1.144, allocations: 48.88 kB / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.144, allocations: 0 / 1.277 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002039/1.144, allocations: 73.55 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.144, allocations: 8 kB / 1.277 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.144, allocations: 3.938 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/1.144, allocations: 0 / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/1.145, allocations: 16.02 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/1.145, allocations: 0 / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/1.145, allocations: 7.984 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/1.145, allocations: 0 / 1.278 GB, free: 0.75 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.756e-05/1.145, allocations: 113.8 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.477e-05/1.145, allocations: 4 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.779e-05/1.145, allocations: 3.5 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.145, allocations: 3.984 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.145, allocations: 4 kB / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/1.145, allocations: 0 / 1.278 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/1.145, allocations: 132.7 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.145, allocations: 4 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/1.145, allocations: 7.984 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/1.145, allocations: 0 / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/1.145, allocations: 0 / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.145, allocations: 4 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.145, allocations: 3.938 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/1.145, allocations: 171.4 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/1.145, allocations: 11.89 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/1.145, allocations: 0 / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/1.145, allocations: 11.98 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/1.145, allocations: 7.984 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/1.145, allocations: 0 / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.725e-05/1.146, allocations: 83.31 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/1.146, allocations: 4 kB / 1.278 GB, free: 128 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002157/1.146, allocations: 4 kB / 1.278 GB, free: 124 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.0001201/1.146, allocations: 95.25 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002478/1.146, allocations: 36.03 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.146, allocations: 4 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.496e-05/1.146, allocations: 31.97 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/1.147, allocations: 3.938 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/1.147, allocations: 109.5 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/1.147, allocations: 0.6768 MB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.155e-05/1.147, allocations: 0 / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/1.147, allocations: 15.5 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/1.147, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.00295/1.15, allocations: 0.6064 MB / 1.28 GB, free: 14.49 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.415529990568757]