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.001562/0.001562, allocations: 106.2 kB / 16.4 MB, free: 6.488 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.001723/0.001723, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.469/1.469, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.607/2.607, allocations: 437.1 MB / 0.7171 GB, free: 4.062 MB / 0.5762 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.001992/0.001992, allocations: 71.89 kB / 1.027 GB, free: 7.832 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8342/0.8362, allocations: 151.6 MB / 1.175 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001822/0.8381, allocations: 0.6655 MB / 1.175 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.8391, allocations: 0.8415 MB / 1.176 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.8392, allocations: 4 kB / 1.176 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.23e-05/0.8392, allocations: 0 / 1.176 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.8393, allocations: 3.938 kB / 1.176 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.8394, allocations: 27.89 kB / 1.176 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.41e-05/0.8395, allocations: 47.86 kB / 1.176 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.8396, allocations: 11.98 kB / 1.176 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.8397, allocations: 15.98 kB / 1.176 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.8398, allocations: 35.84 kB / 1.176 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.8398, allocations: 4 kB / 1.176 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.8398, allocations: 4 kB / 1.176 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.8399, allocations: 7.984 kB / 1.176 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.8399, allocations: 15.92 kB / 1.176 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.84, allocations: 49.62 kB / 1.176 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.84, allocations: 0 / 1.176 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.263e-06/0.84, allocations: 0 / 1.176 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.84, allocations: 0 / 1.176 GB, free: 1.758 MB / 0.8887 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.0005269/0.8406, allocations: 363.3 kB / 1.177 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.8406, allocations: 8.625 kB / 1.177 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.8407, allocations: 38.69 kB / 1.177 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.8407, allocations: 8.938 kB / 1.177 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.8409, allocations: 172.3 kB / 1.177 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.8409, allocations: 384 / 1.177 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.8409, allocations: 8.375 kB / 1.177 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.8411, allocations: 62.22 kB / 1.177 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.8411, allocations: 3.938 kB / 1.177 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.8411, allocations: 0 / 1.177 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.8411, allocations: 8 kB / 1.177 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.8414, allocations: 43.95 kB / 1.177 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.8418, allocations: 288.8 kB / 1.177 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.842, allocations: 66.56 kB / 1.177 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.8421, allocations: 28.89 kB / 1.177 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.8422, allocations: 7.969 kB / 1.177 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.8422, allocations: 30.56 kB / 1.177 GB, free: 480 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 3.237e-06/0.8422, allocations: 0 / 1.177 GB, free: 480 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004141/0.8426, allocations: 113.5 kB / 1.178 GB, free: 360 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.8427, allocations: 59.34 kB / 1.178 GB, free: 288 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.044e-05/0.8428, allocations: 105.8 kB / 1.178 GB, free: 172 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.8428, allocations: 29.7 kB / 1.178 GB, free: 136 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.8429, allocations: 88.08 kB / 1.178 GB, free: 44 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.8429, allocations: 11.84 kB / 1.178 GB, free: 32 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.199e-05/0.843, allocations: 21.7 kB / 1.178 GB, free: 4 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8431, allocations: 318.8 kB / 1.178 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.8432, allocations: 31.97 kB / 1.178 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.597e-05/0.8433, allocations: 19.98 kB / 1.178 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.8436, allocations: 52.75 kB / 1.178 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8436, allocations: 0 / 1.178 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002552/0.8438, allocations: 85.64 kB / 1.178 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.8439, allocations: 8 kB / 1.178 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.8439, allocations: 4 kB / 1.178 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.8439, allocations: 0 / 1.178 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.844, allocations: 11.98 kB / 1.178 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.8441, allocations: 0 / 1.178 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.037e-05/0.8441, allocations: 11.94 kB / 1.178 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.8441, allocations: 4 kB / 1.178 GB, free: 15.45 MB / 0.9044 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.692e-05/0.8442, allocations: 113.8 kB / 1.178 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.8443, allocations: 4 kB / 1.178 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.8443, allocations: 11.89 kB / 1.179 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.8443, allocations: 3.938 kB / 1.179 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8443, allocations: 0 / 1.179 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.8443, allocations: 0 / 1.179 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.8445, allocations: 173.6 kB / 1.179 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8446, allocations: 256 / 1.179 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.8447, allocations: 23.97 kB / 1.179 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8447, allocations: 0 / 1.179 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.8447, allocations: 0 / 1.179 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.8447, allocations: 0 / 1.179 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.8447, allocations: 4 kB / 1.179 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.845, allocations: 187.4 kB / 1.179 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.8451, allocations: 77.11 kB / 1.179 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.8451, allocations: 0 / 1.179 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.744e-05/0.8452, allocations: 7.984 kB / 1.179 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.8453, allocations: 11.98 kB / 1.179 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.8453, allocations: 8.312 kB / 1.179 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.14e-05/0.8453, allocations: 91.22 kB / 1.179 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8454, allocations: 0 / 1.179 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002189/0.8456, allocations: 4 kB / 1.179 GB, free: 14.64 MB / 0.9044 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.0006728/0.8463, allocations: 0.7339 MB / 1.18 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.8465, allocations: 55.89 kB / 1.18 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8465, allocations: 0 / 1.18 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.8467, allocations: 27.97 kB / 1.18 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.847, allocations: 10.06 kB / 1.18 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.8487, allocations: 1.307 MB / 1.181 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.849, allocations: 0.6807 MB / 1.182 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.478e-05/0.8491, allocations: 4 kB / 1.182 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.8492, allocations: 23.42 kB / 1.182 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.8492, allocations: 0 / 1.182 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.8725, allocations: 1.825 MB / 1.184 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/9.051, allocations: 8.016 kB / 1.184 GB, free: 9.957 MB / 0.9044 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.877113942988217]