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.001376/0.001383, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.556/1.556, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.959/2.959, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 63.91 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.8183, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.003446/0.8218, allocations: 0.6577 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.8233, allocations: 0.8351 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.8234, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.205e-05/0.8234, allocations: 7.875 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.161e-05/0.8235, allocations: 4 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.8238, allocations: 23.92 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.8239, allocations: 51.84 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.824, allocations: 12 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.8241, allocations: 15.97 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.8242, allocations: 27.91 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.8243, allocations: 7.938 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.042e-05/0.8243, allocations: 8 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.8245, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.852e-05/0.8245, allocations: 19.91 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.8247, allocations: 43.81 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.8247, allocations: 3.984 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8247, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.8247, allocations: 0 / 1.019 GB, free: 0.7578 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.0007432/0.8255, allocations: 353.3 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.8255, allocations: 8.031 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.8256, allocations: 8.938 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.8258, allocations: 180.2 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.8258, allocations: 4.375 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.8258, allocations: 384 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003171/0.8262, allocations: 66.22 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.8262, allocations: 192 / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.8262, allocations: 3.938 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.8262, allocations: 0 / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.8266, allocations: 59.98 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00063/0.8272, allocations: 284.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.8275, allocations: 58.55 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.8277, allocations: 40.91 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.8277, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.8277, allocations: 34.56 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.8277, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0005627/0.8283, allocations: 109.6 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.8284, allocations: 51.41 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.8285, allocations: 113.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.8285, allocations: 25.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.8286, allocations: 88.14 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.8287, allocations: 11.83 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.533e-05/0.8287, allocations: 17.72 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8289, allocations: 314.8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.829, allocations: 23.97 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.8292, allocations: 27.97 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002699/0.8294, allocations: 60.69 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8295, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003419/0.8298, allocations: 89.77 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.8298, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8299, allocations: 7.984 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.8299, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.8301, allocations: 15.98 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.8301, allocations: 3.984 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.8302, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.8302, allocations: 4 kB / 1.021 GB, free: 14.5 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 0.0001266/0.8303, allocations: 117.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.8304, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.162e-05/0.8304, allocations: 11.91 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.8305, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.8305, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8305, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.8307, allocations: 177.5 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8307, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.8309, allocations: 19.92 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.8309, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.8309, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8309, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8309, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.8313, allocations: 183.4 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.8314, allocations: 81.11 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.8314, allocations: 4 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.8316, allocations: 8.234 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.8317, allocations: 11.98 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.8317, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001604/0.8319, allocations: 87.27 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8319, allocations: 0 / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003673/0.8322, allocations: 15.91 kB / 1.022 GB, free: 13.69 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.0001497/0.8324, allocations: 99.19 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.8328, allocations: 51.95 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8328, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.8329, allocations: 39.97 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.8334, allocations: 5.812 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.8339, allocations: 135.7 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.8342, allocations: 0.6845 MB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.135e-05/0.8343, allocations: 8 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.8344, allocations: 23.36 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.8344, allocations: 0 / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of Templates: time 0.004392/0.8388, allocations: 0.8659 MB / 1.023 GB, free: 11.73 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