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.001311/0.001311, allocations: 105.9 kB / 16.45 MB, free: 6.445 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.001324/0.001324, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.478/1.478, allocations: 225.6 MB / 247.8 MB, free: 3.746 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.849/2.849, allocations: 476.7 MB / 0.7611 GB, free: 15.78 MB / 0.6075 GB " [Timeout remaining time 176] 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.001913/0.001913, allocations: 63.89 kB / 1.104 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9797/0.9816, allocations: 168.7 MB / 1.269 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001983/0.9836, allocations: 0.6707 MB / 1.269 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009311/0.9845, allocations: 0.834 MB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.9846, allocations: 0.7812 kB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.9846, allocations: 6.422 kB / 1.27 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.9847, allocations: 10.12 kB / 1.27 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.9848, allocations: 18.12 kB / 1.27 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.9849, allocations: 44.66 kB / 1.27 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.9851, allocations: 9.812 kB / 1.27 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.937e-05/0.9851, allocations: 26.36 kB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.6e-05/0.9852, allocations: 24.45 kB / 1.27 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.9852, allocations: 8.75 kB / 1.27 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.345e-05/0.9852, allocations: 3.906 kB / 1.27 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.9853, allocations: 12.69 kB / 1.27 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.9853, allocations: 21.19 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.9854, allocations: 43.55 kB / 1.27 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.9854, allocations: 1.375 kB / 1.27 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.103e-06/0.9854, allocations: 0 / 1.27 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.9854, allocations: 1.125 kB / 1.27 GB, free: 6.574 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.0004589/0.9859, allocations: 358.3 kB / 1.271 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.9859, allocations: 14.28 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.986, allocations: 33.14 kB / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.986, allocations: 3 kB / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.9861, allocations: 172.4 kB / 1.271 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.9861, allocations: 6.375 kB / 1.271 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.9861, allocations: 1.719 kB / 1.271 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.9863, allocations: 70.12 kB / 1.271 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.9863, allocations: 3.938 kB / 1.271 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.9863, allocations: 0 / 1.271 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.9863, allocations: 4.906 kB / 1.271 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.9865, allocations: 56.23 kB / 1.271 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003575/0.9869, allocations: 281.5 kB / 1.271 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.9871, allocations: 65.12 kB / 1.271 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.9872, allocations: 32.27 kB / 1.271 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.9872, allocations: 0 / 1.271 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.9872, allocations: 36.89 kB / 1.271 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.9872, allocations: 0 / 1.271 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000403/0.9876, allocations: 112.9 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.9876, allocations: 56.84 kB / 1.272 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.9877, allocations: 105.6 kB / 1.272 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.9877, allocations: 29.7 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.9877, allocations: 82.72 kB / 1.272 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.9878, allocations: 18.77 kB / 1.272 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.9878, allocations: 15.94 kB / 1.272 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.9878, allocations: 322.3 kB / 1.272 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.988, allocations: 25.77 kB / 1.272 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.192e-05/0.988, allocations: 28 kB / 1.272 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.9882, allocations: 50 kB / 1.272 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9882, allocations: 0 / 1.272 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002307/0.9885, allocations: 91.48 kB / 1.272 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9885, allocations: 6.453 kB / 1.272 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.9885, allocations: 0 / 1.272 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.9885, allocations: 4.719 kB / 1.272 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.9886, allocations: 13.08 kB / 1.272 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.9886, allocations: 4.609 kB / 1.272 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.9887, allocations: 6.266 kB / 1.272 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.9887, allocations: 2.203 kB / 1.272 GB, free: 4.719 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.708e-05/0.9888, allocations: 117.1 kB / 1.273 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.9888, allocations: 1.469 kB / 1.273 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.9888, allocations: 10.33 kB / 1.273 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9888, allocations: 4.75 kB / 1.273 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9888, allocations: 0 / 1.273 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.9888, allocations: 1.141 kB / 1.273 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.989, allocations: 174.2 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.989, allocations: 0 / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.628e-05/0.9891, allocations: 14.09 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9891, allocations: 0 / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.9891, allocations: 5.5 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.9891, allocations: 1.469 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9891, allocations: 0 / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.9894, allocations: 192 kB / 1.273 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.9894, allocations: 78.62 kB / 1.273 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.9894, allocations: 1.641 kB / 1.273 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.682e-05/0.9895, allocations: 10.45 kB / 1.273 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.9896, allocations: 11.41 kB / 1.273 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.9896, allocations: 1.422 kB / 1.273 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.9896, allocations: 90.72 kB / 1.273 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9896, allocations: 0 / 1.273 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002208/0.9898, allocations: 6.531 kB / 1.273 GB, free: 4.035 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.0004449/0.9903, allocations: 0.7263 MB / 1.274 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.9905, allocations: 56.2 kB / 1.274 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.9905, allocations: 3.938 kB / 1.274 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.9906, allocations: 32.75 kB / 1.274 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.9909, allocations: 7.781 kB / 1.274 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.9924, allocations: 1.315 MB / 1.275 GB, free: 18.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.9927, allocations: 0.681 MB / 1.276 GB, free: 17.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.686e-05/0.9927, allocations: 3.922 kB / 1.276 GB, free: 17.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.9928, allocations: 21.88 kB / 1.276 GB, free: 17.4 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.9928, allocations: 5.188 kB / 1.276 GB, free: 17.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/1.017, allocations: 1.824 MB / 1.278 GB, free: 17.02 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/9.151, allocations: 15.16 kB / 1.278 GB, free: 17.01 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 --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_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] Reference file matches [Calling sys.exit(0), Time elapsed: 15.339676243253052]