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.001845/0.001845, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002711/0.002711, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.805 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.866/2.866, allocations: 476 MB / 0.7699 GB, free: 4.742 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.002445/0.002445, allocations: 65.55 kB / 1.117 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3325, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002029/0.3345, allocations: 0.6606 MB / 1.283 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.3357, allocations: 0.8511 MB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.3357, allocations: 4 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.3358, allocations: 3.938 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.3358, allocations: 3.938 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.336, allocations: 23.92 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.944e-05/0.3361, allocations: 59.77 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3362, allocations: 8 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.134e-05/0.3363, allocations: 15.98 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.3363, allocations: 23.84 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.3364, allocations: 4 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.3364, allocations: 8 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.3364, allocations: 11.98 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.487e-05/0.3364, allocations: 19.92 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.3365, allocations: 39.39 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3365, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3366, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3366, allocations: 3.938 kB / 1.284 GB, free: 10.74 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.000546/0.3371, allocations: 279 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3371, allocations: 8.031 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.3372, allocations: 30.75 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.3372, allocations: 12.89 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.3374, allocations: 118.5 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3374, allocations: 4.375 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3374, allocations: 4.375 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.3376, allocations: 62.22 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3376, allocations: 3.938 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3376, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3376, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.3379, allocations: 51.95 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.3383, allocations: 259.8 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.3385, allocations: 58.55 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.3387, allocations: 36.89 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3387, allocations: 0 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.3387, allocations: 30.56 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.3387, allocations: 0 / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004463/0.3391, allocations: 113.6 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.3392, allocations: 51.41 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.3393, allocations: 105.8 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3393, allocations: 25.7 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.3394, allocations: 96.08 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.3394, allocations: 3.953 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.3394, allocations: 17.72 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3396, allocations: 322.8 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3397, allocations: 23.98 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3398, allocations: 23.97 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.34, allocations: 56.81 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.34, allocations: 0 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002472/0.3402, allocations: 89.48 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.3403, allocations: 7.984 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3403, allocations: 3.938 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3403, allocations: 4 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.3404, allocations: 11.98 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3404, allocations: 0 / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.3405, allocations: 8 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3405, allocations: 7.984 kB / 1.286 GB, free: 8.648 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 0.0001011/0.3406, allocations: 109.8 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.3406, allocations: 7.953 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.3407, allocations: 8 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3407, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3407, allocations: 4 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3407, allocations: 4 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.3409, allocations: 148.7 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3409, allocations: 0 / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.793e-05/0.341, allocations: 15.92 kB / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.341, allocations: 0 / 1.286 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.341, allocations: 4 kB / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.341, allocations: 0 / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.341, allocations: 256 / 1.286 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3413, allocations: 183.4 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.469e-05/0.3413, allocations: 7.953 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.3413, allocations: 4 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.822e-05/0.3414, allocations: 11.98 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.3415, allocations: 12.36 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.3415, allocations: 0 / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.3416, allocations: 83.27 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3416, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002446/0.3418, allocations: 12 kB / 1.287 GB, free: 7.973 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.0006496/0.3424, allocations: 0.7202 MB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002891/0.3427, allocations: 51.94 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3427, allocations: 0 / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3429, allocations: 35.92 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.3432, allocations: 3.984 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3449, allocations: 1.317 MB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.925e-05/0.345, allocations: 67.28 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.164e-05/0.345, allocations: 11.98 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.3451, allocations: 15.44 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3451, allocations: 0 / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.3773, allocations: 2.392 MB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.74, allocations: 12.31 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.468344079330564]