Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001851/0.001851, allocations: 107.6 kB / 16.45 MB, free: 6.508 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.001808/0.001808, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.633/2.633, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00287/0.00287, allocations: 63.91 kB / 1.056 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8109, allocations: 160.7 MB / 1.213 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002181/0.8131, allocations: 0.669 MB / 1.214 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.8144, allocations: 0.8407 MB / 1.214 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.8145, allocations: 1.125 kB / 1.214 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.8145, allocations: 0 / 1.214 GB, free: 2.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.723e-05/0.8146, allocations: 5.094 kB / 1.214 GB, free: 2.645 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.8147, allocations: 20.02 kB / 1.214 GB, free: 2.629 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.478e-05/0.8148, allocations: 45.84 kB / 1.214 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.8149, allocations: 20 kB / 1.214 GB, free: 2.586 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.002e-05/0.815, allocations: 15.28 kB / 1.214 GB, free: 2.578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.8151, allocations: 22.47 kB / 1.214 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.8151, allocations: 4.25 kB / 1.214 GB, free: 2.562 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.8151, allocations: 7.688 kB / 1.214 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.8151, allocations: 12.98 kB / 1.215 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.8152, allocations: 20.3 kB / 1.215 GB, free: 2.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.8153, allocations: 45.47 kB / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8153, allocations: 1.094 kB / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8153, allocations: 0 / 1.215 GB, free: 2.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.279e-06/0.8153, allocations: 0 / 1.215 GB, free: 2.496 MB / 0.92 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.0005426/0.8158, allocations: 361 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.8159, allocations: 13.36 kB / 1.215 GB, free: 2.105 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.8159, allocations: 36.59 kB / 1.215 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.8159, allocations: 2.969 kB / 1.215 GB, free: 2.062 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.8161, allocations: 174.5 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.8161, allocations: 2.406 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.8161, allocations: 2.719 kB / 1.215 GB, free: 1.855 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.8164, allocations: 72.33 kB / 1.215 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8164, allocations: 3.938 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.8164, allocations: 0 / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.8164, allocations: 1.156 kB / 1.215 GB, free: 1.793 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.8166, allocations: 55.44 kB / 1.215 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.817, allocations: 279.9 kB / 1.216 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.8172, allocations: 63.02 kB / 1.216 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.8174, allocations: 29.59 kB / 1.216 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.8174, allocations: 5.062 kB / 1.216 GB, free: 1.391 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.8174, allocations: 31.69 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.8174, allocations: 0 / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004236/0.8178, allocations: 112.8 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.8179, allocations: 56.52 kB / 1.216 GB, free: 1.211 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.818, allocations: 105.2 kB / 1.216 GB, free: 1.105 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.818, allocations: 26.77 kB / 1.216 GB, free: 1.074 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.818, allocations: 85.25 kB / 1.216 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.8181, allocations: 18 kB / 1.216 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.973e-05/0.8181, allocations: 16.94 kB / 1.216 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8183, allocations: 327.9 kB / 1.216 GB, free: 0.625 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.556e-05/0.8184, allocations: 20.52 kB / 1.216 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.485e-05/0.8185, allocations: 25.16 kB / 1.216 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.8186, allocations: 58.94 kB / 1.216 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8186, allocations: 0 / 1.216 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002344/0.8189, allocations: 89.59 kB / 1.217 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.8189, allocations: 4.688 kB / 1.217 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8189, allocations: 0 / 1.217 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.8189, allocations: 1.188 kB / 1.217 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.819, allocations: 12.61 kB / 1.217 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.819, allocations: 3.938 kB / 1.217 GB, free: 0.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.933e-05/0.8191, allocations: 11.91 kB / 1.217 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-06/0.8191, allocations: 2.219 kB / 1.217 GB, free: 0.4922 MB / 0.92 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 0.0001038/0.8192, allocations: 121.7 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.8192, allocations: 1.031 kB / 1.217 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.8193, allocations: 9.062 kB / 1.217 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8193, allocations: 5.062 kB / 1.217 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8193, allocations: 0 / 1.217 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8193, allocations: 0.875 kB / 1.217 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.8195, allocations: 179 kB / 1.217 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8195, allocations: 0 / 1.217 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.8196, allocations: 13.89 kB / 1.217 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8196, allocations: 0 / 1.217 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.8196, allocations: 9.094 kB / 1.217 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8196, allocations: 0 / 1.217 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8196, allocations: 1.062 kB / 1.217 GB, free: 124 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.8199, allocations: 183.8 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.8199, allocations: 82.19 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.8199, allocations: 1.094 kB / 1.217 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.886e-05/0.82, allocations: 11.22 kB / 1.217 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.8201, allocations: 7.891 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.8201, allocations: 6.219 kB / 1.217 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.8202, allocations: 87.36 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8202, allocations: 0.8438 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002339/0.8204, allocations: 6.125 kB / 1.217 GB, free: 15.76 MB / 0.9356 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.0006232/0.821, allocations: 0.7238 MB / 1.218 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.8213, allocations: 57.44 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8213, allocations: 0.75 kB / 1.218 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.8214, allocations: 33.22 kB / 1.218 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.8217, allocations: 8.969 kB / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.8232, allocations: 1.326 MB / 1.219 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.8235, allocations: 0.6798 MB / 1.22 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.376e-05/0.8236, allocations: 7.75 kB / 1.22 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.8236, allocations: 19.42 kB / 1.22 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.8236, allocations: 0 / 1.22 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.8485, allocations: 1.823 MB / 1.222 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/9.047, allocations: 9.125 kB / 1.222 GB, free: 12.04 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.907879991922528]