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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 194.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.189/2.189, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.89 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.5158, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001735/0.5176, allocations: 0.7225 MB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000795/0.5184, allocations: 0.8312 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.301e-05/0.5184, allocations: 4 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.5185, allocations: 3.938 kB / 1.018 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.5185, allocations: 4 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.5187, allocations: 23.97 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.483e-05/0.5187, allocations: 43.84 kB / 1.019 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.5188, allocations: 12 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.11e-05/0.5189, allocations: 15.98 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.519, allocations: 35.83 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.519, allocations: 4 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.519, allocations: 4 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.519, allocations: 8 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.5191, allocations: 23.86 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.278e-05/0.5191, allocations: 39.86 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5192, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5192, allocations: 3.938 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.5192, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.7637 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.0004403/0.5196, allocations: 361.6 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5197, allocations: 12.03 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.5197, allocations: 30.75 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.5197, allocations: 0.9375 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.5198, allocations: 176.2 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.5199, allocations: 12.38 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.5199, allocations: 4.312 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.5201, allocations: 66.22 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5201, allocations: 3.938 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.5201, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.5201, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.5203, allocations: 55.88 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.5207, allocations: 284.8 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.5209, allocations: 62.55 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.521, allocations: 32.91 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.5211, allocations: 8 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.5211, allocations: 34.56 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5211, allocations: 0 / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003785/0.5215, allocations: 109.5 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.5215, allocations: 51.41 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.5216, allocations: 109.8 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.5216, allocations: 25.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.5217, allocations: 84.14 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.5217, allocations: 19.73 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.5217, allocations: 13.72 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.5218, allocations: 326.7 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.5219, allocations: 23.97 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.522, allocations: 31.91 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.5222, allocations: 48.81 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5222, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002273/0.5225, allocations: 85.66 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.5225, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5225, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.5225, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.5226, allocations: 19.97 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.5226, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.5227, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.5227, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 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 7.335e-05/0.5228, allocations: 130.2 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.5228, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.5229, allocations: 7.906 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.5229, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.5229, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.5229, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.523, allocations: 177.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.523, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.97e-05/0.5231, allocations: 11.98 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5231, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.5232, allocations: 8.188 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5232, allocations: 4 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5232, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.5234, allocations: 187.7 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.5235, allocations: 77.11 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.5235, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.5236, allocations: 15.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.5237, allocations: 7.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.5237, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.743e-05/0.5237, allocations: 87.27 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5237, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002127/0.5239, allocations: 11.91 kB / 1.021 GB, free: 13.83 MB / 0.7794 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.0006024/0.5245, allocations: 0.7219 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.5248, allocations: 55.83 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5248, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.5249, allocations: 31.97 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.5252, allocations: 11.98 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.5265, allocations: 1.315 MB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.5267, allocations: 0.6807 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.316e-05/0.5268, allocations: 4 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.5268, allocations: 19.42 kB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.5268, allocations: 0 / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5035/1.03, allocations: 1.635 MB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/1.031, allocations: 211.5 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.656, allocations: 3.938 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches