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.0009377/0.0009377, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001055/0.001055, allocations: 181 kB / 23.36 MB, free: 1.133 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.9797/0.9797, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.394/2.394, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.663e-06/1.663e-06, allocations: 0 / 0.8386 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.594e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001239/0.001255, allocations: 0.665 MB / 0.8392 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.002083, allocations: 0.878 MB / 0.8401 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.002119, allocations: 0 / 0.8401 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.002147, allocations: 3.938 kB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.002222, allocations: 7.938 kB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.002348, allocations: 35.84 kB / 0.8401 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.002415, allocations: 39.91 kB / 0.8401 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.272e-05/0.002497, allocations: 11.98 kB / 0.8402 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.002582, allocations: 27.92 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.002633, allocations: 19.95 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.002654, allocations: 4 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-06/0.002663, allocations: 4 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.00268, allocations: 11.94 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.002699, allocations: 11.98 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.058e-05/0.00278, allocations: 35.83 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.002782, allocations: 7.938 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002783, allocations: 0 / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.002786, allocations: 0 / 0.8403 GB, free: 12.5 MB / 0.8073 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.0003027/0.003089, allocations: 248.9 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.00312, allocations: 12.03 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.003146, allocations: 8.922 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.316e-05/0.00322, allocations: 101.8 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.003237, allocations: 8.375 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.003248, allocations: 4.375 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.003351, allocations: 62.92 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.003357, allocations: 4.188 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.003365, allocations: 4.375 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.003371, allocations: 384 / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.872e-05/0.0034, allocations: 19.86 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.00362, allocations: 168.2 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.173e-05/0.003681, allocations: 34.62 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.003699, allocations: 12.84 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.003709, allocations: 0 / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.003728, allocations: 38.5 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.003729, allocations: 4 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001068/0.003836, allocations: 53.62 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.003863, allocations: 51.41 kB / 0.8411 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.003917, allocations: 110.7 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.003926, allocations: 25.7 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.003954, allocations: 84.08 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.00397, allocations: 15.89 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.003997, allocations: 25.7 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.004066, allocations: 318.8 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.004078, allocations: 4 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.004089, allocations: 8.188 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.00412, allocations: 28.86 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004122, allocations: 0 / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.686e-05/0.004169, allocations: 41.69 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.004179, allocations: 5.719 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.004183, allocations: 0 / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.004195, allocations: 3.938 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.004257, allocations: 11.98 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.004262, allocations: 3.984 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.108e-05/0.004283, allocations: 8 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.004289, allocations: 3.984 kB / 0.8417 GB, free: 10.84 MB / 0.8073 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 5.852e-05/0.004348, allocations: 117.8 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.00436, allocations: 0 / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.004383, allocations: 12 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.004385, allocations: 3.938 kB / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.004387, allocations: 0 / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.004389, allocations: 0 / 0.8419 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.068e-05/0.00447, allocations: 73.88 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.00447, allocations: 0 / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.004498, allocations: 15.98 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.81e-07/0.004499, allocations: 0 / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.004503, allocations: 0 / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.004503, allocations: 0 / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.004505, allocations: 4 kB / 0.842 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.541e-05/0.00458, allocations: 139.5 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.004588, allocations: 8.203 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.004596, allocations: 3.938 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.559e-05/0.004632, allocations: 12 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.004669, allocations: 15.91 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.004671, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.351e-05/0.004685, allocations: 20.84 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004685, allocations: 0 / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001149/0.0048, allocations: 7.938 kB / 0.8422 GB, free: 10.36 MB / 0.8073 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 6.712e-05/0.004867, allocations: 76.42 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.83e-05/0.004925, allocations: 24.78 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.004928, allocations: 4 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.00495, allocations: 20.78 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.005073, allocations: 15.94 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002068/0.00528, allocations: 128.5 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.031e-05/0.00531, allocations: 55.36 kB / 0.8425 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.005335, allocations: 7.984 kB / 0.8425 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.005383, allocations: 59.38 kB / 0.8425 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.005384, allocations: 4 kB / 0.8425 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of Templates: time 0.002129/0.007513, allocations: 0.9645 MB / 0.8435 GB, free: 8.965 MB / 0.8073 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.295935974922031]