Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001688/0.001688, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002199/0.002199, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.978/2.978, allocations: 0.49 GB / 0.7923 GB, free: 1.352 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="cs",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.002075/0.002075, allocations: 63.91 kB / 1.15 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9501/0.9522, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001625/0.9538, allocations: 0.6701 MB / 1.322 GB, free: 24.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.9546, allocations: 0.8661 MB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.767e-05/0.9547, allocations: 2.5 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.9547, allocations: 7.219 kB / 1.323 GB, free: 23.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.542e-05/0.9548, allocations: 3.938 kB / 1.323 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.9549, allocations: 28.53 kB / 1.323 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.401e-05/0.955, allocations: 40.06 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.9551, allocations: 13.31 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.9552, allocations: 20.77 kB / 1.323 GB, free: 23.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.9552, allocations: 30.36 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.9553, allocations: 2.844 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.9553, allocations: 5.969 kB / 1.323 GB, free: 23.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.9553, allocations: 6.578 kB / 1.323 GB, free: 23.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.9553, allocations: 17.83 kB / 1.323 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.9554, allocations: 47.11 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9554, allocations: 0 / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9554, allocations: 0 / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.9554, allocations: 2.656 kB / 1.323 GB, free: 23.56 MB / 1.061 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.000466/0.9559, allocations: 360.5 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.9559, allocations: 14.45 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.239e-05/0.956, allocations: 192 / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.956, allocations: 37.69 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.956, allocations: 4.891 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.9561, allocations: 170.5 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.9561, allocations: 2.969 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.9562, allocations: 3.031 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.9563, allocations: 76.56 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.9564, allocations: 3.938 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.9564, allocations: 2.625 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.9564, allocations: 0 / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.9566, allocations: 52.84 kB / 1.324 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.957, allocations: 287.6 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.9572, allocations: 67.16 kB / 1.324 GB, free: 22.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.9573, allocations: 26.05 kB / 1.324 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.9573, allocations: 7.359 kB / 1.324 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.9573, allocations: 33.25 kB / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.9573, allocations: 0 / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004095/0.9577, allocations: 113.4 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.9577, allocations: 51.41 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.9578, allocations: 105.5 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.9578, allocations: 25.7 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/0.9578, allocations: 86.61 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.9579, allocations: 15.17 kB / 1.325 GB, free: 22.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.9579, allocations: 23.09 kB / 1.325 GB, free: 22.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.958, allocations: 318 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.9581, allocations: 24.02 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.9582, allocations: 28 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.9583, allocations: 50.7 kB / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9583, allocations: 0 / 1.325 GB, free: 21.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002271/0.9586, allocations: 86.92 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.9586, allocations: 5.906 kB / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.9586, allocations: 0 / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.9586, allocations: 0 / 1.325 GB, free: 21.72 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.9587, allocations: 15.66 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.9587, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.683e-05/0.9588, allocations: 12.64 kB / 1.325 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.9588, allocations: 0 / 1.325 GB, free: 21.71 MB / 1.061 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 6.079e-05/0.9589, allocations: 122.8 kB / 1.325 GB, free: 21.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.9589, allocations: 6.828 kB / 1.325 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.9589, allocations: 15.22 kB / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.9589, allocations: 0 / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.9589, allocations: 2.812 kB / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.9589, allocations: 0 / 1.325 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.9591, allocations: 172.1 kB / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9591, allocations: 0 / 1.325 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.9592, allocations: 13.86 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.9592, allocations: 4 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.9592, allocations: 7.422 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9592, allocations: 0 / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.9592, allocations: 3.938 kB / 1.326 GB, free: 21.35 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.9594, allocations: 185.6 kB / 1.326 GB, free: 21.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.9595, allocations: 81.06 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.9595, allocations: 6.656 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.9596, allocations: 6.734 kB / 1.326 GB, free: 21.1 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.9596, allocations: 12.47 kB / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.9596, allocations: 0 / 1.326 GB, free: 21.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.02e-05/0.9597, allocations: 84.69 kB / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9597, allocations: 0 / 1.326 GB, free: 21.02 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002195/0.9599, allocations: 11.05 kB / 1.326 GB, free: 21.02 MB / 1.061 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.0004288/0.9603, allocations: 0.7152 MB / 1.327 GB, free: 20.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002668/0.9606, allocations: 58.27 kB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.9606, allocations: 0 / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.9607, allocations: 32.67 kB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.961, allocations: 5.953 kB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.9623, allocations: 1.315 MB / 1.328 GB, free: 19.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.9624, allocations: 0.6839 MB / 1.329 GB, free: 18.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.9624, allocations: 13.38 kB / 1.329 GB, free: 18.4 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.9625, allocations: 17.16 kB / 1.329 GB, free: 18.39 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.9625, allocations: 0 / 1.329 GB, free: 18.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.9799, allocations: 1.876 MB / 1.33 GB, free: 17.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.494/9.474, allocations: 4.047 kB / 1.331 GB, free: 17.98 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.019425729988143] Failed to read output from testmodel.py, exit status != 0: 9.605182628030889 9.625246385 8.666242327 Calling exit ...