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.001459/0.001459, allocations: 103.6 kB / 16.45 MB, free: 6.449 MB / 14.72 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.002201/0.002201, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.484/1.484, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.815/2.815, allocations: 476.7 MB / 0.7672 GB, free: 5.395 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 71.89 kB / 1.112 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7494, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002081/0.7514, allocations: 0.6677 MB / 1.279 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.7526, allocations: 0.8666 MB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.7527, allocations: 0 / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.7527, allocations: 3.938 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.814e-05/0.7528, allocations: 7.938 kB / 1.28 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.7529, allocations: 23.97 kB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.753, allocations: 51.84 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.7531, allocations: 11.98 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.7532, allocations: 15.94 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.991e-05/0.7533, allocations: 31.89 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.7533, allocations: 4 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.7533, allocations: 4 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.7533, allocations: 7.984 kB / 1.28 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.7534, allocations: 15.88 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.7535, allocations: 53.61 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7535, allocations: 3.938 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7535, allocations: 0 / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.7535, allocations: 4 kB / 1.28 GB, free: 11.66 MB / 0.9825 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.0005678/0.7541, allocations: 355.3 kB / 1.28 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.7541, allocations: 8.031 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.218e-05/0.7541, allocations: 34.75 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.7542, allocations: 8.891 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.7543, allocations: 164.4 kB / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.7544, allocations: 384 / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.7544, allocations: 384 / 1.281 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.7546, allocations: 70.22 kB / 1.281 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.7546, allocations: 7.875 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.7546, allocations: 7.984 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.7546, allocations: 0 / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.7549, allocations: 47.95 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.7553, allocations: 292.8 kB / 1.281 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.7555, allocations: 70.5 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.7557, allocations: 28.88 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.7557, allocations: 4 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.7557, allocations: 34.5 kB / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7557, allocations: 0 / 1.281 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004484/0.7561, allocations: 113.6 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.7562, allocations: 51.41 kB / 1.281 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.072e-05/0.7563, allocations: 101.9 kB / 1.281 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.7563, allocations: 25.7 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.7564, allocations: 92.08 kB / 1.281 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.7564, allocations: 15.84 kB / 1.281 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.7564, allocations: 29.64 kB / 1.281 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7566, allocations: 314.8 kB / 1.282 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.7567, allocations: 19.98 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.7568, allocations: 23.97 kB / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.757, allocations: 56.81 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.757, allocations: 0 / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002659/0.7573, allocations: 85.64 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.7573, allocations: 6.5 kB / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.7573, allocations: 0 / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.7573, allocations: 0 / 1.282 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.7575, allocations: 19.92 kB / 1.282 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.7575, allocations: 0 / 1.282 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.7575, allocations: 11.98 kB / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.7576, allocations: 0 / 1.282 GB, free: 9.363 MB / 0.9825 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 9e-05/0.7576, allocations: 117.8 kB / 1.282 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.7577, allocations: 7.891 kB / 1.282 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.7577, allocations: 7.906 kB / 1.282 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7577, allocations: 0 / 1.282 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7577, allocations: 4 kB / 1.282 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7577, allocations: 3.984 kB / 1.282 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.7579, allocations: 169.6 kB / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7579, allocations: 0 / 1.282 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.982e-05/0.758, allocations: 11.98 kB / 1.282 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.758, allocations: 4 kB / 1.282 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.758, allocations: 4 kB / 1.282 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.758, allocations: 3.938 kB / 1.282 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.758, allocations: 3.984 kB / 1.282 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.7584, allocations: 187.7 kB / 1.282 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.7584, allocations: 81.06 kB / 1.283 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.7584, allocations: 8.25 kB / 1.283 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.7585, allocations: 8.047 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.7586, allocations: 11.97 kB / 1.283 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.7586, allocations: 7.984 kB / 1.283 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.7587, allocations: 83.28 kB / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7587, allocations: 0 / 1.283 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002302/0.7589, allocations: 8 kB / 1.283 GB, free: 8.539 MB / 0.9825 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.0006315/0.7595, allocations: 0.7129 MB / 1.283 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.7598, allocations: 59.88 kB / 1.283 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.7598, allocations: 0 / 1.283 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.7599, allocations: 35.97 kB / 1.283 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.7602, allocations: 0 / 1.283 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.7619, allocations: 1.311 MB / 1.285 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.7622, allocations: 0.6883 MB / 1.285 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.442e-05/0.7623, allocations: 8 kB / 1.285 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.7624, allocations: 19.42 kB / 1.285 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.7624, allocations: 0 / 1.285 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.7885, allocations: 1.835 MB / 1.287 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.886, allocations: 3.938 kB / 1.287 GB, free: 3.852 MB / 0.9825 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable intToRea.u in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv. Warning: Get data of variable intToRea.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.178948740940541]