Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_9_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.0008189/0.0008189, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.004823/0.004823, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.37/2.37, allocations: 390.9 MB / 0.6664 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004064, allocations: 12 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7297, allocations: 142.4 MB / 0.9552 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0008813/0.7306, allocations: 397.6 kB / 0.9556 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.7315, allocations: 0.8278 MB / 0.9564 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.7315, allocations: 1.062 kB / 0.9564 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.641e-05/0.7316, allocations: 3.938 kB / 0.9564 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.7316, allocations: 7.969 kB / 0.9564 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.7318, allocations: 21.33 kB / 0.9564 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.7319, allocations: 37.67 kB / 0.9564 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.732, allocations: 17.11 kB / 0.9564 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.7321, allocations: 14.38 kB / 0.9565 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.7321, allocations: 26.36 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.7321, allocations: 2 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.7322, allocations: 2.406 kB / 0.9565 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.7322, allocations: 5.156 kB / 0.9565 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.7322, allocations: 40.5 kB / 0.9565 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.121e-05/0.7323, allocations: 39.66 kB / 0.9566 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7323, allocations: 0 / 0.9566 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.714e-06/0.7323, allocations: 7.938 kB / 0.9566 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.7323, allocations: 1.312 kB / 0.9566 GB, free: 6.559 MB / 0.7169 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.0003967/0.7327, allocations: 343.3 kB / 0.9569 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.7328, allocations: 9.781 kB / 0.9569 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.943e-05/0.7328, allocations: 39.86 kB / 0.957 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.7328, allocations: 7.188 kB / 0.957 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.574e-05/0.7329, allocations: 167.3 kB / 0.9571 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.733, allocations: 5.469 kB / 0.9571 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.733, allocations: 7 kB / 0.9571 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.7332, allocations: 72.83 kB / 0.9572 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.7332, allocations: 3.938 kB / 0.9572 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.7332, allocations: 5.344 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.7332, allocations: 1 kB / 0.9572 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.7334, allocations: 67.69 kB / 0.9573 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003392/0.7338, allocations: 289.1 kB / 0.9576 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.734, allocations: 68.64 kB / 0.9576 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.7341, allocations: 36.31 kB / 0.9577 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.7341, allocations: 3.938 kB / 0.9577 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.7341, allocations: 35.7 kB / 0.9577 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.7341, allocations: 4 kB / 0.9577 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004013/0.7345, allocations: 120.8 kB / 0.9578 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.7346, allocations: 55.41 kB / 0.9579 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.7346, allocations: 105.6 kB / 0.958 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.7347, allocations: 25.7 kB / 0.958 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.7347, allocations: 91.58 kB / 0.9581 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.7347, allocations: 13.17 kB / 0.9581 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.7347, allocations: 14.97 kB / 0.9581 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.7348, allocations: 320.1 kB / 0.9584 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.7349, allocations: 33.41 kB / 0.9584 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.354e-05/0.735, allocations: 30.23 kB / 0.9585 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.7352, allocations: 67.72 kB / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7352, allocations: 0 / 0.9585 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002317/0.7355, allocations: 94.86 kB / 0.9586 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7355, allocations: 5.844 kB / 0.9586 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7355, allocations: 0 / 0.9586 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.7355, allocations: 0 / 0.9586 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.7356, allocations: 20.14 kB / 0.9586 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.7356, allocations: 0 / 0.9586 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.521e-05/0.7357, allocations: 14.23 kB / 0.9587 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.7357, allocations: 1.375 kB / 0.9587 GB, free: 4.562 MB / 0.7169 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.465e-05/0.7358, allocations: 120.3 kB / 0.9588 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.7358, allocations: 6.469 kB / 0.9588 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.7358, allocations: 15.89 kB / 0.9588 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.7359, allocations: 1.656 kB / 0.9588 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7359, allocations: 0 / 0.9588 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.7359, allocations: 0 / 0.9588 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.736, allocations: 171.9 kB / 0.959 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.736, allocations: 0 / 0.959 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.914e-05/0.7361, allocations: 20.72 kB / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7361, allocations: 0 / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.7361, allocations: 0 / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7361, allocations: 0 / 0.959 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7361, allocations: 5.781 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.7364, allocations: 197.5 kB / 0.9592 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.735e-05/0.7364, allocations: 77.11 kB / 0.9592 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.7365, allocations: 5.281 kB / 0.9593 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.7366, allocations: 14.2 kB / 0.9593 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.7366, allocations: 8.484 kB / 0.9593 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.7367, allocations: 1.438 kB / 0.9593 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.7367, allocations: 87.55 kB / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7367, allocations: 0 / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002148/0.7369, allocations: 6.375 kB / 0.9594 GB, free: 3.836 MB / 0.7169 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.0004922/0.7374, allocations: 0.7302 MB / 0.9601 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.7377, allocations: 71.7 kB / 0.9601 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7377, allocations: 0 / 0.9601 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.7378, allocations: 39.31 kB / 0.9602 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.7381, allocations: 12.62 kB / 0.9602 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.7396, allocations: 1.349 MB / 0.9615 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.7397, allocations: 0.6837 MB / 0.9622 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.046e-05/0.7398, allocations: 6.75 kB / 0.9622 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.7398, allocations: 19.55 kB / 0.9622 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7399, allocations: 0 / 0.9622 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.7518, allocations: 1.487 MB / 0.9637 GB, free: 408 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.752, allocations: 219.3 kB / 0.9639 GB, free: 144 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.413, allocations: 3.938 kB / 0.9639 GB, free: 140 kB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches