Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009684/0.0009684, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009789/0.0009789, allocations: 181 kB / 24.09 MB, free: 420 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 0.9018/0.9018, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.771/1.771, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.545e-05, allocations: 2.906 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.004725/0.004751, allocations: 0.6762 MB / 0.7882 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.005707, allocations: 0.8797 MB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.005747, allocations: 0.625 kB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.005774, allocations: 3.938 kB / 0.789 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.327e-05/0.005847, allocations: 4.438 kB / 0.7891 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.005985, allocations: 32.97 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.006054, allocations: 43.91 kB / 0.7891 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.006138, allocations: 8 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.501e-05/0.006223, allocations: 29.75 kB / 0.7892 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.006272, allocations: 19.97 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.00629, allocations: 4 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.0063, allocations: 4 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.00632, allocations: 11.92 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.006347, allocations: 8.75 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.758e-05/0.006444, allocations: 43.81 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006447, allocations: 4.688 kB / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006448, allocations: 0 / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.006452, allocations: 1.281 kB / 0.7893 GB, free: 10.47 MB / 0.7448 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.0003633/0.006816, allocations: 372.6 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.006854, allocations: 8.031 kB / 0.7896 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.006884, allocations: 10.3 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.767e-05/0.006982, allocations: 108.6 kB / 0.7897 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.007, allocations: 4.375 kB / 0.7897 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.719e-06/0.00701, allocations: 5.438 kB / 0.7897 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.007139, allocations: 62.92 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.007146, allocations: 192 / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.007155, allocations: 5.844 kB / 0.7898 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.00716, allocations: 4.375 kB / 0.7898 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.696e-05/0.007197, allocations: 19.86 kB / 0.7898 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.01049, allocations: 254 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.983e-05/0.01057, allocations: 47.11 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.01059, allocations: 11.72 kB / 0.7901 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.01061, allocations: 4.562 kB / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.01063, allocations: 38.3 kB / 0.7902 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.01063, allocations: 0 / 0.7902 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001535/0.01079, allocations: 67.23 kB / 0.7902 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.01081, allocations: 51.41 kB / 0.7903 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.01088, allocations: 165.9 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.01089, allocations: 25.7 kB / 0.7905 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.227e-05/0.01098, allocations: 138.8 kB / 0.7906 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.01099, allocations: 9.641 kB / 0.7906 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.01103, allocations: 23.36 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.01114, allocations: 0.4883 MB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.059e-05/0.01116, allocations: 7.984 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.506e-05/0.01117, allocations: 10.5 kB / 0.7911 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.412e-05/0.01122, allocations: 23.67 kB / 0.7911 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01122, allocations: 0 / 0.7911 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.148e-05/0.0113, allocations: 53.64 kB / 0.7912 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.01131, allocations: 4 kB / 0.7912 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01132, allocations: 3.938 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.01133, allocations: 0.625 kB / 0.7912 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.01141, allocations: 12.95 kB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.01141, allocations: 0 / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.833e-05/0.01144, allocations: 8.531 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.01145, allocations: 0 / 0.7912 GB, free: 8.262 MB / 0.7448 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 6.553e-05/0.01151, allocations: 162 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.01153, allocations: 0 / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.01156, allocations: 19.92 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01156, allocations: 0.5312 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01156, allocations: 0 / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.01156, allocations: 1.312 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.01168, allocations: 109.2 kB / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01168, allocations: 0 / 0.7915 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.01172, allocations: 9.156 kB / 0.7915 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01172, allocations: 0 / 0.7915 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.01173, allocations: 3.984 kB / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.01173, allocations: 1.375 kB / 0.7915 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01173, allocations: 3.938 kB / 0.7915 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.01186, allocations: 199.8 kB / 0.7917 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.01187, allocations: 5.75 kB / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.697e-06/0.01188, allocations: 0 / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.42e-05/0.01193, allocations: 7.984 kB / 0.7917 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.01197, allocations: 15.92 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.01198, allocations: 0 / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.01202, allocations: 127.9 kB / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01202, allocations: 0 / 0.7919 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002059/0.01222, allocations: 13.75 kB / 0.7919 GB, free: 7.547 MB / 0.7448 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.777e-05/0.01231, allocations: 99.17 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.683e-05/0.01239, allocations: 31.98 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01239, allocations: 0.875 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.299e-05/0.01242, allocations: 23.61 kB / 0.792 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01265, allocations: 15.42 kB / 0.792 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.0129, allocations: 130.4 kB / 0.7922 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.498e-05/0.01293, allocations: 55.36 kB / 0.7922 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.018e-05/0.01296, allocations: 4.531 kB / 0.7922 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003147/0.01611, allocations: 76.12 kB / 0.7923 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.01611, allocations: 0 / 0.7923 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of Templates: time 0.002786/0.01889, allocations: 1.042 MB / 0.7933 GB, free: 6.055 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.84947659028694]