Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.001341/0.001341, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001503/0.001503, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 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 0.9656/0.9656, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.413/2.413, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 0 / 0.8897 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.406e-05/3.724e-05, allocations: 9.547 kB / 0.8897 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001487/0.001524, allocations: 0.6738 MB / 0.8904 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.002596, allocations: 0.8781 MB / 0.8912 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.002639, allocations: 0 / 0.8912 GB, free: 8.266 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.00267, allocations: 7.938 kB / 0.8912 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.00275, allocations: 3.938 kB / 0.8913 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.002884, allocations: 27.89 kB / 0.8913 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.135e-05/0.002956, allocations: 39.92 kB / 0.8913 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003056, allocations: 11.98 kB / 0.8913 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.003144, allocations: 27.91 kB / 0.8914 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.981e-05/0.003194, allocations: 15.98 kB / 0.8914 GB, free: 8.133 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.003213, allocations: 7.938 kB / 0.8914 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.003224, allocations: 4 kB / 0.8914 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.003243, allocations: 15.92 kB / 0.8914 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.003266, allocations: 19.97 kB / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.686e-05/0.003363, allocations: 31.84 kB / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003365, allocations: 0 / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003367, allocations: 0 / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.003371, allocations: 0 / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003688/0.00374, allocations: 376.5 kB / 0.8918 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.003778, allocations: 8.031 kB / 0.8918 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.688e-05/0.003805, allocations: 4.938 kB / 0.8918 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.265e-05/0.003888, allocations: 116.6 kB / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.003905, allocations: 384 / 0.8919 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.003916, allocations: 8.359 kB / 0.8919 GB, free: 7.488 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.004034, allocations: 70.88 kB / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.004041, allocations: 192 / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.00405, allocations: 4.375 kB / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004054, allocations: 384 / 0.892 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.004081, allocations: 15.92 kB / 0.892 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.004341, allocations: 256.5 kB / 0.8923 GB, free: 7.113 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/0.004414, allocations: 50.97 kB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.004434, allocations: 11.72 kB / 0.8923 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.004448, allocations: 4.047 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.004472, allocations: 45.38 kB / 0.8924 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.004473, allocations: 0 / 0.8924 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001289/0.004602, allocations: 57.52 kB / 0.8924 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.00463, allocations: 55.41 kB / 0.8925 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.004696, allocations: 169.8 kB / 0.8926 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.004707, allocations: 25.7 kB / 0.8927 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/0.004757, allocations: 134.8 kB / 0.8928 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.004775, allocations: 11.89 kB / 0.8928 GB, free: 6.484 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.004806, allocations: 27.36 kB / 0.8928 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.004943, allocations: 0.4923 MB / 0.8933 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.004961, allocations: 4 kB / 0.8933 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.004973, allocations: 4 kB / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.005011, allocations: 23.67 kB / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005013, allocations: 0 / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.215e-05/0.005085, allocations: 49.62 kB / 0.8934 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.005098, allocations: 4 kB / 0.8934 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.005104, allocations: 3.938 kB / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005116, allocations: 0 / 0.8934 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.005194, allocations: 15.98 kB / 0.8934 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.005198, allocations: 0 / 0.8934 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.005221, allocations: 7.953 kB / 0.8934 GB, free: 5.824 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.005229, allocations: 4 kB / 0.8934 GB, free: 5.82 MB / 0.8542 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.355e-05/0.005302, allocations: 160.5 kB / 0.8936 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.005317, allocations: 4 kB / 0.8936 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.005347, allocations: 11.94 kB / 0.8936 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.005351, allocations: 4 kB / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.005354, allocations: 0 / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.005357, allocations: 0 / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.005466, allocations: 105.2 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.005468, allocations: 0 / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.005499, allocations: 7.984 kB / 0.8937 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.005501, allocations: 4 kB / 0.8937 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.005507, allocations: 4 kB / 0.8937 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.005509, allocations: 256 / 0.8937 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.005511, allocations: 7.875 kB / 0.8937 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.005638, allocations: 192.2 kB / 0.8939 GB, free: 5.266 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.292e-05/0.005651, allocations: 20.02 kB / 0.8939 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.005662, allocations: 11.92 kB / 0.8939 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.562e-05/0.005698, allocations: 8 kB / 0.8939 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.005742, allocations: 11.92 kB / 0.894 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.005747, allocations: 4 kB / 0.894 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.005793, allocations: 127.2 kB / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005793, allocations: 0 / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001315/0.005924, allocations: 4 kB / 0.8941 GB, free: 5.082 MB / 0.8542 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.492e-05/0.006009, allocations: 99.19 kB / 0.8942 GB, free: 4.977 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.149e-05/0.006081, allocations: 31.61 kB / 0.8942 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006082, allocations: 0 / 0.8942 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.006108, allocations: 27.67 kB / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.006277, allocations: 4 kB / 0.8942 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.00652, allocations: 126.3 kB / 0.8944 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.308e-05/0.006553, allocations: 55.36 kB / 0.8944 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.006583, allocations: 11.98 kB / 0.8944 GB, free: 4.668 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.006641, allocations: 78.2 kB / 0.8945 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.006642, allocations: 0 / 0.8945 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.002569/0.009211, allocations: 1.033 MB / 0.8955 GB, free: 3.562 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.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.233249327167869]