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.001173/0.001173, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001269/0.001269, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8812/0.8812, allocations: 177.1 MB / 202.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.025e-06/3.025e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.338e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001325/0.001349, allocations: 0.6692 MB / 0.9511 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.002126, allocations: 0.8509 MB / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.002163, allocations: 0 / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.002191, allocations: 3.938 kB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.878e-05/0.00226, allocations: 7.938 kB / 0.952 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001467/0.002406, allocations: 27.95 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.531e-05/0.002482, allocations: 39.86 kB / 0.952 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.002588, allocations: 11.98 kB / 0.952 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.002668, allocations: 27.97 kB / 0.9521 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.002721, allocations: 23.91 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.002745, allocations: 4 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.002754, allocations: 4 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.00277, allocations: 4 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.002795, allocations: 19.91 kB / 0.9521 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.002887, allocations: 43.86 kB / 0.9522 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.00289, allocations: 8 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.563e-06/0.002892, allocations: 0 / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002896, allocations: 3.938 kB / 0.9522 GB, free: 1.75 MB / 0.9011 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.0003899/0.003286, allocations: 278.2 kB / 0.9524 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.003324, allocations: 12.03 kB / 0.9524 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.843e-05/0.003352, allocations: 34.73 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.003373, allocations: 0.9375 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.676e-05/0.00346, allocations: 109.8 kB / 0.9526 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.003475, allocations: 12.31 kB / 0.9526 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.003483, allocations: 4.375 kB / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.003615, allocations: 66.22 kB / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.003622, allocations: 192 / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.00363, allocations: 384 / 0.9527 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.003635, allocations: 8.062 kB / 0.9527 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.003747, allocations: 59.88 kB / 0.9527 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.004058, allocations: 239.9 kB / 0.953 GB, free: 0.8281 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.004178, allocations: 62.53 kB / 0.953 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.004236, allocations: 36.86 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.00425, allocations: 0 / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.004268, allocations: 38.5 kB / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.004269, allocations: 0 / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0002485/0.004518, allocations: 113.8 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.004547, allocations: 51.41 kB / 0.9532 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.004615, allocations: 113.8 kB / 0.9534 GB, free: 380 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.004627, allocations: 25.7 kB / 0.9534 GB, free: 348 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.813e-05/0.004666, allocations: 88.14 kB / 0.9535 GB, free: 256 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.004681, allocations: 7.906 kB / 0.9535 GB, free: 248 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.004711, allocations: 21.7 kB / 0.9535 GB, free: 220 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/0.004794, allocations: 310.8 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/0.004848, allocations: 27.97 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.051e-05/0.004899, allocations: 23.97 kB / 0.9538 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.005, allocations: 60.75 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005002, allocations: 0 / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001266/0.005129, allocations: 85.58 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.005142, allocations: 4 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005147, allocations: 4 kB / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.005159, allocations: 0 / 0.954 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.005244, allocations: 11.98 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.005249, allocations: 0 / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.00528, allocations: 19.94 kB / 0.954 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.005286, allocations: 0 / 0.954 GB, free: 15.66 MB / 0.9167 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 5.891e-05/0.005345, allocations: 113.8 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.005359, allocations: 3.938 kB / 0.9541 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.00538, allocations: 12 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.005383, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.005387, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.00539, allocations: 7.922 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.005505, allocations: 144.8 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.005507, allocations: 3.938 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.005544, allocations: 15.98 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.005545, allocations: 3.938 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.005552, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.005553, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.005555, allocations: 4 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.005714, allocations: 179.5 kB / 0.9545 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-06/0.005722, allocations: 3.938 kB / 0.9545 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.005734, allocations: 7.984 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.005774, allocations: 4 kB / 0.9545 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.005825, allocations: 15.92 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.005831, allocations: 7.984 kB / 0.9545 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.005863, allocations: 87.53 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005863, allocations: 0 / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001426/0.006006, allocations: 8 kB / 0.9546 GB, free: 14.97 MB / 0.9167 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.0004007/0.006407, allocations: 0.713 MB / 0.9553 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.006556, allocations: 63.88 kB / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.006557, allocations: 0 / 0.9554 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.006611, allocations: 28.3 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.006854, allocations: 11.94 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009516/0.007806, allocations: 1.308 MB / 0.9567 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.00785, allocations: 71.28 kB / 0.9568 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.007885, allocations: 7.938 kB / 0.9568 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.007932, allocations: 20.48 kB / 0.9568 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of SimCode: time 7.02e-07/0.007933, allocations: 0 / 0.9568 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.02384, allocations: 2.522 MB / 0.9592 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/6.907, allocations: 9.344 kB / 0.9593 GB, free: 10.25 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.955551750026643]