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.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.001721/0.001721, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.002009/0.002009, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.45/1.45, allocations: 225.6 MB / 249.4 MB, free: 3.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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 0.001992/0.001992, allocations: 75.88 kB / 1.107 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9328/0.9348, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00192/0.9367, allocations: 0.6774 MB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009993/0.9377, allocations: 0.8403 MB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.9377, allocations: 0.8125 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.9378, allocations: 3 kB / 1.273 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/0.9379, allocations: 4.781 kB / 1.273 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.938, allocations: 26.03 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.9381, allocations: 48.44 kB / 1.273 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.9382, allocations: 10.33 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.369e-05/0.9383, allocations: 18.55 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.9384, allocations: 25.03 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.175e-05/0.9384, allocations: 4.094 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.473e-05/0.9384, allocations: 8.25 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.9385, allocations: 15.11 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.9385, allocations: 18.64 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.9386, allocations: 43.73 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.9386, allocations: 0.8125 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9386, allocations: 0 / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.9386, allocations: 0.5625 kB / 1.273 GB, free: 6.535 MB / 0.9981 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.0004964/0.9391, allocations: 355.6 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.9392, allocations: 9.281 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.9392, allocations: 40.92 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.644e-05/0.9392, allocations: 3.5 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.9393, allocations: 176.5 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.9394, allocations: 1.969 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.9394, allocations: 6.812 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.9396, allocations: 65.02 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.9396, allocations: 4.812 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.9396, allocations: 0 / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9396, allocations: 0.9688 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.9398, allocations: 52.52 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.9402, allocations: 288.1 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.9404, allocations: 61.73 kB / 1.274 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.9405, allocations: 33.02 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.9405, allocations: 0.7812 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.9406, allocations: 31.38 kB / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.9406, allocations: 0 / 1.274 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004148/0.941, allocations: 109.7 kB / 1.274 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.941, allocations: 53.03 kB / 1.274 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.319e-05/0.9411, allocations: 109.4 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.9411, allocations: 25.7 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.69e-05/0.9411, allocations: 88.2 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.9411, allocations: 18.09 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.9412, allocations: 19.05 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.9412, allocations: 317.9 kB / 1.275 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.9413, allocations: 28.81 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.18e-05/0.9414, allocations: 29.03 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.9416, allocations: 53.09 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9416, allocations: 0.75 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002292/0.9418, allocations: 88.52 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.9418, allocations: 4.688 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.9418, allocations: 0.6562 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.9418, allocations: 5 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.942, allocations: 14.81 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.942, allocations: 0 / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.942, allocations: 14.58 kB / 1.275 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.942, allocations: 0.6875 kB / 1.275 GB, free: 4.684 MB / 0.9981 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.244e-05/0.9421, allocations: 116.7 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.9421, allocations: 2.938 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.9422, allocations: 5.703 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.9422, allocations: 4.938 kB / 1.275 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9422, allocations: 3.938 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9422, allocations: 5.703 kB / 1.275 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.9423, allocations: 174.2 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9423, allocations: 0 / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.9424, allocations: 13.02 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9424, allocations: 0.7812 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.9424, allocations: 4.688 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9424, allocations: 1.703 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9424, allocations: 0 / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.9427, allocations: 187.8 kB / 1.276 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.9427, allocations: 80.27 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.9427, allocations: 0.6562 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.9428, allocations: 6.969 kB / 1.276 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.9428, allocations: 11.72 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.9429, allocations: 1.062 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.851e-05/0.9429, allocations: 90.42 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9429, allocations: 3.938 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000219/0.9431, allocations: 6.875 kB / 1.276 GB, free: 4 MB / 0.9981 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.0004322/0.9435, allocations: 0.7167 MB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002667/0.9438, allocations: 55.77 kB / 1.277 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9438, allocations: 7.875 kB / 1.277 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.9439, allocations: 31.22 kB / 1.277 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.9442, allocations: 7.188 kB / 1.277 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.9455, allocations: 1.317 MB / 1.278 GB, free: 18.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.9458, allocations: 0.6802 MB / 1.279 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.399e-05/0.9459, allocations: 5.25 kB / 1.279 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.9459, allocations: 17.47 kB / 1.279 GB, free: 17.38 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.9459, allocations: 7.938 kB / 1.279 GB, free: 17.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.9767, allocations: 1.81 MB / 1.28 GB, free: 16.99 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.874, allocations: 8.562 kB / 1.28 GB, free: 16.98 MB / 1.014 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 & /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 --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_2/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] "" Variables in the reference:time,intToRea.u,intToRea.y Variables in the result:intToRea.u,intToRea.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt1.u,reaToInt1.y,round2.n,round2.u,round2.y,time [Calling sys.exit(0), Time elapsed: 14.817400189000182]