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.001391/0.001391, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001489/0.001489, allocations: 217.5 kB / 22.25 MB, free: 5.117 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7707 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002133/0.002133, allocations: 66.58 kB / 1.117 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3412, allocations: 170 MB / 1.283 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002013/0.3432, allocations: 0.6621 MB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.3444, allocations: 0.8705 MB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.3445, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.3445, allocations: 7.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.3446, allocations: 3.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.3447, allocations: 27.97 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.062e-05/0.3448, allocations: 39.91 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3449, allocations: 11.98 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.913e-05/0.345, allocations: 23.92 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.3451, allocations: 23.92 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.3451, allocations: 4 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.3451, allocations: 4 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.3451, allocations: 11.97 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.3452, allocations: 19.88 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3453, allocations: 52 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3453, allocations: 4 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3453, allocations: 0 / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3453, allocations: 7.938 kB / 1.285 GB, free: 9.918 MB / 0.9825 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.0005135/0.3458, allocations: 270.3 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3459, allocations: 8.031 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.3459, allocations: 38.73 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.3459, allocations: 4.891 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3461, allocations: 106.5 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3461, allocations: 4.375 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3461, allocations: 12.31 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3463, allocations: 66.22 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3463, allocations: 3.938 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3463, allocations: 3.984 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3463, allocations: 0 / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.3465, allocations: 55.88 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.347, allocations: 267.8 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.3472, allocations: 58.55 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3473, allocations: 28.91 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3473, allocations: 0 / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3474, allocations: 38.5 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3474, allocations: 4 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004446/0.3478, allocations: 101.6 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3479, allocations: 51.41 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/0.348, allocations: 105.8 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.348, allocations: 33.7 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.348, allocations: 84.09 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.3481, allocations: 23.95 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.3481, allocations: 13.72 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3482, allocations: 322.8 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3484, allocations: 23.97 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-05/0.3484, allocations: 27.91 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000183/0.3486, allocations: 48.81 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3486, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002377/0.3489, allocations: 81.66 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3489, allocations: 8 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3489, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3489, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.349, allocations: 15.97 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.349, allocations: 0 / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.827e-05/0.3491, allocations: 4 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3491, allocations: 8 kB / 1.287 GB, free: 7.832 MB / 0.9825 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.581e-05/0.3492, allocations: 125.6 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3493, allocations: 11.89 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.3493, allocations: 8 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3493, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3493, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3493, allocations: 0 / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.3495, allocations: 152.6 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3495, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.614e-05/0.3496, allocations: 15.98 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3496, allocations: 336 / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3496, allocations: 0 / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3496, allocations: 0 / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3496, allocations: 4 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.3499, allocations: 183.7 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.3499, allocations: 11.89 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3499, allocations: 4 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.35, allocations: 7.984 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.3501, allocations: 11.98 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3501, allocations: 0 / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.078e-05/0.3501, allocations: 91.27 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3501, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002271/0.3504, allocations: 4 kB / 1.288 GB, free: 7.141 MB / 0.9825 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.000628/0.351, allocations: 0.7163 MB / 1.288 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3513, allocations: 55.88 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3513, allocations: 0 / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.3514, allocations: 31.98 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.3517, allocations: 9.531 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3534, allocations: 1.309 MB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3537, allocations: 0.6884 MB / 1.29 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.3537, allocations: 8 kB / 1.29 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/0.3538, allocations: 15.44 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of SimCode: time 4.3e-07/0.3538, allocations: 4 kB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.3832, allocations: 1.929 MB / 1.292 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.67, allocations: 7.328 kB / 1.292 GB, free: 2.379 MB / 0.9825 GB " [Timeout remaining time 288] (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/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: 18.317185756983235]