Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001364, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 192.9 kB / 16.25 MB, free: 6.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.859/2.859, allocations: 437 MB / 0.7101 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8019, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002375/0.8043, allocations: 0.7301 MB / 1.018 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.8055, allocations: 0.8313 MB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.8056, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.8056, allocations: 0 / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.8057, allocations: 7.922 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.8059, allocations: 23.97 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.76e-05/0.806, allocations: 43.86 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.8061, allocations: 15.98 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.8062, allocations: 16 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.8063, allocations: 27.89 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.8063, allocations: 7.938 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.8063, allocations: 4 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.8064, allocations: 7.984 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.588e-05/0.8064, allocations: 15.94 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.8065, allocations: 47.78 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.8066, allocations: 4 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8066, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.8066, allocations: 0 / 1.019 GB, free: 0.9531 MB / 0.7637 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.0006118/0.8072, allocations: 357.3 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.8072, allocations: 8.031 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.8073, allocations: 0.9375 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.8075, allocations: 180.2 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.8075, allocations: 4.375 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.8075, allocations: 4.375 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.8077, allocations: 70.22 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.8078, allocations: 192 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.8078, allocations: 3.938 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.8078, allocations: 3.938 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.8081, allocations: 51.94 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.8086, allocations: 292.8 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.8088, allocations: 58.55 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.8089, allocations: 32.91 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.809, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.809, allocations: 34.56 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.809, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004574/0.8095, allocations: 109.6 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.8095, allocations: 51.41 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.663e-05/0.8096, allocations: 113.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.8097, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.8097, allocations: 92.12 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.8098, allocations: 11.84 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.8098, allocations: 17.72 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.81, allocations: 314.8 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.8101, allocations: 23.98 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-05/0.8102, allocations: 27.97 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.8104, allocations: 60.69 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8104, allocations: 0 / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002481/0.8107, allocations: 89.78 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.8107, allocations: 7.984 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8107, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8107, allocations: 48 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.8109, allocations: 19.97 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8109, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.811, allocations: 8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.811, allocations: 3.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 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 9.002e-05/0.8111, allocations: 118.3 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.8111, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.976e-05/0.8111, allocations: 3.906 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.8112, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8112, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8112, allocations: 0 / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.8114, allocations: 181.5 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8114, allocations: 7.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.8115, allocations: 16.23 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8115, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.8115, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8115, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8115, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/0.8119, allocations: 183.4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.8119, allocations: 85.05 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.8119, allocations: 3.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.8121, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.8121, allocations: 11.98 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.8121, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.8122, allocations: 87.27 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8122, allocations: 0 / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002341/0.8124, allocations: 11.91 kB / 1.021 GB, free: 13.89 MB / 0.7794 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 0.0001131/0.8126, allocations: 103.2 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.8128, allocations: 59.94 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8129, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.813, allocations: 23.98 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.8134, allocations: 15.92 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.8138, allocations: 140 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.8141, allocations: 0.6845 MB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.268e-05/0.8142, allocations: 7.984 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.8143, allocations: 15.44 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of SimCode: time 4e-07/0.8143, allocations: 0 / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of Templates: time 0.003378/0.8176, allocations: 0.7914 MB / 1.023 GB, free: 11.99 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches