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.001949/0.001949, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002524/0.002524, allocations: 214.8 kB / 22.25 MB, free: 5.078 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 3.324/3.324, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_latest_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.002057/0.002057, allocations: 63.89 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3762, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001916/0.3781, allocations: 0.6658 MB / 1.353 GB, free: 7.812 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.3793, allocations: 0.8631 MB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.3793, allocations: 8 kB / 1.354 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.3794, allocations: 3.938 kB / 1.354 GB, free: 6.926 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.986e-05/0.3795, allocations: 7.922 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.3796, allocations: 23.91 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3798, allocations: 43.91 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3799, allocations: 8 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.38, allocations: 19.92 kB / 1.354 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3801, allocations: 31.84 kB / 1.354 GB, free: 6.793 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.3801, allocations: 4 kB / 1.354 GB, free: 6.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.3801, allocations: 4 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.322e-05/0.3801, allocations: 11.98 kB / 1.355 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.3802, allocations: 19.92 kB / 1.355 GB, free: 6.754 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3803, allocations: 48.02 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.3803, allocations: 4 kB / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3803, allocations: 0 / 1.355 GB, free: 6.703 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3803, allocations: 0 / 1.355 GB, free: 6.703 MB / 1.045 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.0005871/0.3809, allocations: 278.2 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3809, allocations: 8.031 kB / 1.355 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.381, allocations: 34.75 kB / 1.355 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.381, allocations: 4.938 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3812, allocations: 118.4 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.3812, allocations: 4.375 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.3812, allocations: 384 / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.3814, allocations: 70.2 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3814, allocations: 7.875 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3815, allocations: 0 / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3815, allocations: 0 / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.3817, allocations: 55.95 kB / 1.355 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.3822, allocations: 259.8 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.3824, allocations: 58.55 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3825, allocations: 32.91 kB / 1.355 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3825, allocations: 4 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3825, allocations: 30.56 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 4.478e-06/0.3826, allocations: 7.984 kB / 1.356 GB, free: 5.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004207/0.383, allocations: 105.5 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.383, allocations: 59.39 kB / 1.356 GB, free: 5.434 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3831, allocations: 109.9 kB / 1.356 GB, free: 5.316 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.3832, allocations: 25.7 kB / 1.356 GB, free: 5.285 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3832, allocations: 88.06 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.3832, allocations: 11.91 kB / 1.356 GB, free: 5.184 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.3833, allocations: 13.72 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3834, allocations: 326.8 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3835, allocations: 19.98 kB / 1.356 GB, free: 4.816 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-05/0.3836, allocations: 27.97 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.3838, allocations: 52.81 kB / 1.356 GB, free: 4.734 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3838, allocations: 4 kB / 1.356 GB, free: 4.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002387/0.3841, allocations: 81.58 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3841, allocations: 8 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3841, allocations: 0 / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3841, allocations: 0 / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.3842, allocations: 15.98 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3842, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.766e-05/0.3843, allocations: 7.984 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3843, allocations: 4.25 kB / 1.356 GB, free: 4.609 MB / 1.045 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.836e-05/0.3844, allocations: 118.4 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.3844, allocations: 7.953 kB / 1.357 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.3845, allocations: 8 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3845, allocations: 0 / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3845, allocations: 8 kB / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3845, allocations: 0 / 1.357 GB, free: 4.457 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.3847, allocations: 152.6 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3847, allocations: 0 / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.33e-05/0.3848, allocations: 11.98 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3848, allocations: 3.938 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3848, allocations: 0 / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3848, allocations: 4 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3848, allocations: 3.938 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.3851, allocations: 187.4 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.276e-05/0.3851, allocations: 3.984 kB / 1.357 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.3851, allocations: 4 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.3852, allocations: 4 kB / 1.357 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.3853, allocations: 15.92 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3853, allocations: 7.984 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.3853, allocations: 79.28 kB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3853, allocations: 4 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002231/0.3856, allocations: 8 kB / 1.357 GB, free: 3.918 MB / 1.045 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.0006193/0.3862, allocations: 0.7166 MB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.3864, allocations: 59.97 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3864, allocations: 0 / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3866, allocations: 39.91 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3869, allocations: 0 / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.3885, allocations: 1.311 MB / 1.359 GB, free: 1.688 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.3888, allocations: 0.6807 MB / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.3888, allocations: 0 / 1.36 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.3889, allocations: 19.42 kB / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of SimCode: time 7.02e-07/0.3889, allocations: 0 / 1.36 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.4171, allocations: 1.943 MB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.52, allocations: 6.969 kB / 1.362 GB, free: 15.15 MB / 1.061 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv. Warning: Get data of variable intToRea.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.603275705000215]