Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001339/0.001339, allocations: 116.5 kB / 17.13 MB, free: 5.945 MB / 14.72 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.001527/0.001527, allocations: 210.5 kB / 20.09 MB, free: 2.996 MB / 14.72 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 1.579/1.579, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.969/2.969, allocations: 0.49 GB / 0.7923 GB, free: 1.32 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 75.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9792/0.9813, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001568/0.9829, allocations: 0.629 MB / 1.323 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007258/0.9836, allocations: 0.8616 MB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.498e-05/0.9836, allocations: 0 / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.9836, allocations: 3.469 kB / 1.323 GB, free: 24 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.9837, allocations: 7.938 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.9838, allocations: 14.17 kB / 1.323 GB, free: 23.98 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.9839, allocations: 30.03 kB / 1.323 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.155e-05/0.984, allocations: 2.812 kB / 1.323 GB, free: 23.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.928e-05/0.984, allocations: 12.22 kB / 1.323 GB, free: 23.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.9841, allocations: 18.19 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.9841, allocations: 2.844 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.9841, allocations: 2.906 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.9841, allocations: 4 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.9841, allocations: 10.34 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.52e-05/0.9842, allocations: 20.31 kB / 1.324 GB, free: 23.94 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9842, allocations: 7.281 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9842, allocations: 3.938 kB / 1.324 GB, free: 23.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.9842, allocations: 0 / 1.324 GB, free: 23.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004138/0.9846, allocations: 337.8 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.9847, allocations: 12.7 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.9847, allocations: 3.969 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.9848, allocations: 175.5 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.9848, allocations: 3.312 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.9848, allocations: 4.375 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.985, allocations: 51.59 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.985, allocations: 3.094 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.985, allocations: 3.938 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.985, allocations: 3.938 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.9852, allocations: 34.69 kB / 1.324 GB, free: 23.31 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.9855, allocations: 255.6 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.9856, allocations: 40.75 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.022e-05/0.9857, allocations: 27.22 kB / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.9858, allocations: 0 / 1.324 GB, free: 22.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.443e-05/0.9858, allocations: 30.56 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.9858, allocations: 4 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003509/0.9861, allocations: 89.22 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.9861, allocations: 51.41 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.316e-05/0.9862, allocations: 103 kB / 1.325 GB, free: 22.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.9862, allocations: 25.7 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.282e-05/0.9862, allocations: 84.08 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.9863, allocations: 8.078 kB / 1.325 GB, free: 22.61 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.9863, allocations: 16.78 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.9863, allocations: 316.9 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.9864, allocations: 18.06 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.487e-05/0.9865, allocations: 12.23 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.9867, allocations: 47.72 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9867, allocations: 0 / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001934/0.9868, allocations: 76.16 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.9869, allocations: 5.5 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.9869, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9869, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.987, allocations: 8.938 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.987, allocations: 3.938 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.987, allocations: 12.62 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.987, allocations: 4 kB / 1.325 GB, free: 22.2 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: 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 5.276e-05/0.9871, allocations: 115.5 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.9871, allocations: 7.953 kB / 1.325 GB, free: 22.08 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.9871, allocations: 5.719 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.9871, allocations: 0 / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.9871, allocations: 0 / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.9871, allocations: 0 / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.9873, allocations: 166.4 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.9873, allocations: 0 / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.9873, allocations: 8.562 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.9873, allocations: 192 / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.9873, allocations: 2.594 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.9873, allocations: 0 / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9873, allocations: 0 / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.9875, allocations: 178.2 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.9876, allocations: 81.05 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.9876, allocations: 0 / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.9877, allocations: 8.859 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.9877, allocations: 9.812 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.9877, allocations: 0 / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.213e-05/0.9877, allocations: 78.16 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9877, allocations: 0 / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002128/0.9879, allocations: 9.875 kB / 1.326 GB, free: 21.54 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: 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 9.692e-05/0.988, allocations: 103.4 kB / 1.326 GB, free: 21.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.9883, allocations: 38.61 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9883, allocations: 3.062 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.9884, allocations: 22.8 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.9887, allocations: 11.06 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.9889, allocations: 121.9 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.9891, allocations: 0.6748 MB / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.9891, allocations: 14.22 kB / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.9891, allocations: 0 / 1.327 GB, free: 20.59 MB / 1.061 GB Notification: Performance of Templates: time 0.001983/0.9911, allocations: 0.5977 MB / 1.327 GB, free: 20.56 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.4345132909948]