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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 110.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.145/3.145, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> 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: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 68.44 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3431, allocations: 173.9 MB / 1.304 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002024/0.3451, allocations: 0.6679 MB / 1.305 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3461, allocations: 0.8432 MB / 1.305 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.63e-05/0.3462, allocations: 0 / 1.305 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.3462, allocations: 3.938 kB / 1.305 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.3463, allocations: 3.938 kB / 1.305 GB, free: 60 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000144/0.3464, allocations: 27.97 kB / 1.305 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3465, allocations: 43.91 kB / 1.305 GB, free: 15.99 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3466, allocations: 11.98 kB / 1.306 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.889e-05/0.3467, allocations: 23.92 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.3468, allocations: 15.92 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.3468, allocations: 4 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.3468, allocations: 8 kB / 1.306 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.3468, allocations: 11.97 kB / 1.306 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.3469, allocations: 19.88 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.347, allocations: 48.02 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.347, allocations: 0 / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.363e-06/0.347, allocations: 0 / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.347, allocations: 4 kB / 1.306 GB, free: 15.84 MB / 1.014 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.0005143/0.3475, allocations: 351.4 kB / 1.306 GB, free: 15.45 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3475, allocations: 16.86 kB / 1.306 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.3476, allocations: 30.75 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.3476, allocations: 8.891 kB / 1.306 GB, free: 15.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3477, allocations: 168.4 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3478, allocations: 4.375 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3478, allocations: 4.312 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.348, allocations: 74.2 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.348, allocations: 3.938 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.348, allocations: 0 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.348, allocations: 0 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.3482, allocations: 55.89 kB / 1.306 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.3486, allocations: 288.7 kB / 1.307 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.3488, allocations: 66.53 kB / 1.307 GB, free: 14.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3489, allocations: 28.86 kB / 1.307 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.349, allocations: 0 / 1.307 GB, free: 14.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.349, allocations: 38.56 kB / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.349, allocations: 0 / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=4): time 0.0003964/0.3494, allocations: 105.6 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.3494, allocations: 55.41 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.905e-05/0.3495, allocations: 109.8 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3495, allocations: 25.7 kB / 1.307 GB, free: 14.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.3496, allocations: 84.09 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3496, allocations: 12.03 kB / 1.307 GB, free: 14.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.3496, allocations: 21.7 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3498, allocations: 318.8 kB / 1.307 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.3499, allocations: 27.91 kB / 1.307 GB, free: 13.76 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.624e-05/0.35, allocations: 19.98 kB / 1.307 GB, free: 13.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3501, allocations: 52.81 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3501, allocations: 256 / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002369/0.3504, allocations: 93.59 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3504, allocations: 4 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3504, allocations: 4 kB / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3504, allocations: 0 / 1.308 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.3505, allocations: 11.98 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3505, allocations: 0 / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.3506, allocations: 11.92 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3506, allocations: 4 kB / 1.308 GB, free: 13.55 MB / 1.014 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 8.526e-05/0.3507, allocations: 121.8 kB / 1.308 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.3507, allocations: 7.938 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.3508, allocations: 7.906 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3508, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3508, allocations: 3.984 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3508, allocations: 3.938 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.351, allocations: 185.5 kB / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.351, allocations: 0 / 1.308 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.175e-05/0.3511, allocations: 11.98 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3511, allocations: 4 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3511, allocations: 3.984 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3511, allocations: 4 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3511, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.3514, allocations: 183.7 kB / 1.308 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.3514, allocations: 85.09 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3514, allocations: 4 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.3515, allocations: 11.98 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.3516, allocations: 4 kB / 1.308 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3516, allocations: 7.984 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.778e-05/0.3516, allocations: 83.28 kB / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3516, allocations: 0 / 1.308 GB, free: 12.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002171/0.3518, allocations: 4 kB / 1.308 GB, free: 12.73 MB / 1.014 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.0006206/0.3525, allocations: 0.7202 MB / 1.309 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.3527, allocations: 55.89 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3527, allocations: 0 / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.3528, allocations: 35.97 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.3531, allocations: 4 kB / 1.309 GB, free: 11.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3547, allocations: 1.311 MB / 1.31 GB, free: 10.49 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.355, allocations: 0.6807 MB / 1.311 GB, free: 9.785 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.826e-05/0.3551, allocations: 8 kB / 1.311 GB, free: 9.777 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.3551, allocations: 19.42 kB / 1.311 GB, free: 9.758 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/0.3551, allocations: 96 / 1.311 GB, free: 9.758 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.3791, allocations: 1.83 MB / 1.313 GB, free: 8.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.353, allocations: 19.67 kB / 1.313 GB, free: 8.055 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.132694206666201]