Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00166/0.00166, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001821/0.001821, allocations: 169 kB / 24.05 MB, free: 460 kB / 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 1.047/1.047, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.139/2.139, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/2.005e-05, allocations: 3.406 kB / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001514/0.001534, allocations: 0.6586 MB / 0.88 GB, free: 5.402 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.00257, allocations: 0.8542 MB / 0.8808 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.164e-05/0.002611, allocations: 0.9688 kB / 0.8808 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.85e-05/0.00264, allocations: 0 / 0.8808 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.694e-05/0.002717, allocations: 12.59 kB / 0.8809 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001563/0.002873, allocations: 18.23 kB / 0.8809 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.841e-05/0.002941, allocations: 23.92 kB / 0.8809 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.00304, allocations: 7.984 kB / 0.8809 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.258e-05/0.003123, allocations: 16.89 kB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.003171, allocations: 11.98 kB / 0.8809 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.003191, allocations: 4 kB / 0.8809 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.193e-06/0.003198, allocations: 4.969 kB / 0.8809 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.003219, allocations: 8 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.646e-05/0.003236, allocations: 1.125 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.611e-05/0.003322, allocations: 27.89 kB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003324, allocations: 0 / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003325, allocations: 1.094 kB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.003329, allocations: 0 / 0.881 GB, free: 4.41 MB / 0.8386 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.0003633/0.003692, allocations: 352.7 kB / 0.8813 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.003731, allocations: 13.06 kB / 0.8813 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.00376, allocations: 0.9375 kB / 0.8813 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.553e-05/0.003855, allocations: 120.5 kB / 0.8814 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.003875, allocations: 1.094 kB / 0.8814 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.003882, allocations: 384 / 0.8814 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.00401, allocations: 55.47 kB / 0.8815 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004018, allocations: 1.625 kB / 0.8815 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.004025, allocations: 4.312 kB / 0.8815 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.004031, allocations: 4.375 kB / 0.8815 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.013e-05/0.004062, allocations: 16.5 kB / 0.8815 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.004351, allocations: 232.4 kB / 0.8817 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.072e-05/0.004412, allocations: 35.84 kB / 0.8818 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.004433, allocations: 12.84 kB / 0.8818 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.004445, allocations: 0 / 0.8818 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.004471, allocations: 37.98 kB / 0.8818 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 6.82e-07/0.004471, allocations: 0 / 0.8818 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001493/0.004621, allocations: 51 kB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.004652, allocations: 51.41 kB / 0.8819 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.004734, allocations: 157.9 kB / 0.8821 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.004747, allocations: 29.14 kB / 0.8821 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.004796, allocations: 134.9 kB / 0.8822 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.004815, allocations: 3.953 kB / 0.8822 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.004849, allocations: 19.38 kB / 0.8823 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.004996, allocations: 496.1 kB / 0.8827 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.005009, allocations: 0 / 0.8827 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.512e-05/0.005024, allocations: 11.92 kB / 0.8827 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/0.005055, allocations: 16.78 kB / 0.8828 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005057, allocations: 0 / 0.8828 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.878e-05/0.005116, allocations: 37.7 kB / 0.8828 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.005127, allocations: 9.469 kB / 0.8828 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.005133, allocations: 3.984 kB / 0.8828 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.005143, allocations: 3.938 kB / 0.8828 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.005205, allocations: 4 kB / 0.8828 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.005209, allocations: 1.156 kB / 0.8828 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.322e-05/0.005232, allocations: 4 kB / 0.8828 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.005236, allocations: 224 / 0.8828 GB, free: 2.34 MB / 0.8386 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.213e-05/0.005319, allocations: 168.5 kB / 0.883 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.005341, allocations: 7.953 kB / 0.883 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.005363, allocations: 3.312 kB / 0.883 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.005367, allocations: 3.938 kB / 0.883 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.005371, allocations: 4 kB / 0.883 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.005374, allocations: 0 / 0.883 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.005491, allocations: 97.25 kB / 0.8831 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.005492, allocations: 0 / 0.8831 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.005519, allocations: 4 kB / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.005521, allocations: 0 / 0.8831 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.005527, allocations: 8 kB / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.005528, allocations: 0 / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005528, allocations: 0 / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.005647, allocations: 191.9 kB / 0.8833 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-06/0.005654, allocations: 4 kB / 0.8833 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.005664, allocations: 0 / 0.8833 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.005713, allocations: 3.984 kB / 0.8833 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.005756, allocations: 11.94 kB / 0.8833 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.005762, allocations: 7.922 kB / 0.8833 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.778e-05/0.005809, allocations: 127.2 kB / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.005809, allocations: 4.031 kB / 0.8834 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002041/0.006014, allocations: 4 kB / 0.8834 GB, free: 1.645 MB / 0.8386 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.018e-05/0.006104, allocations: 91.25 kB / 0.8835 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.98e-05/0.006184, allocations: 19.67 kB / 0.8835 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006185, allocations: 0 / 0.8835 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.663e-05/0.006211, allocations: 15.69 kB / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.006439, allocations: 8 kB / 0.8836 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.006664, allocations: 114.5 kB / 0.8837 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.956e-05/0.006704, allocations: 59.28 kB / 0.8837 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.006727, allocations: 7.938 kB / 0.8837 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.621e-05/0.006794, allocations: 70.2 kB / 0.8838 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/0.006794, allocations: 0 / 0.8838 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of Templates: time 0.002512/0.009306, allocations: 0.7235 MB / 0.8845 GB, free: 496 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.819590636063367]