Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,fileNamePrefix="Buildings_latest_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.00107/0.00107, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001127/0.001127, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.124/3.124, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005593/0.0005592, allocations: 16 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8578/0.8584, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0007858/0.8592, allocations: 377.1 kB / 0.9812 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008208/0.8601, allocations: 0.8259 MB / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.8601, allocations: 0 / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.292e-05/0.8601, allocations: 0 / 0.982 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.59e-05/0.8602, allocations: 3.984 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.8603, allocations: 27.86 kB / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.8604, allocations: 23.97 kB / 0.9821 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.366e-05/0.8605, allocations: 11.98 kB / 0.9821 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.419e-05/0.8605, allocations: 11.94 kB / 0.9821 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.8606, allocations: 23.89 kB / 0.9821 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.8606, allocations: 4 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-06/0.8607, allocations: 0 / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.8607, allocations: 8 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.8607, allocations: 29.7 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.098e-05/0.8608, allocations: 31.92 kB / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.8608, allocations: 0 / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8608, allocations: 0 / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.8608, allocations: 0 / 0.9822 GB, free: 4.871 MB / 0.7325 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.0004225/0.8612, allocations: 345.6 kB / 0.9825 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.8613, allocations: 8.031 kB / 0.9826 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.8613, allocations: 42.48 kB / 0.9826 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.8613, allocations: 7.906 kB / 0.9826 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.8615, allocations: 171 kB / 0.9828 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.8615, allocations: 4 kB / 0.9828 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.8615, allocations: 3.938 kB / 0.9828 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.8617, allocations: 73.61 kB / 0.9828 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.8617, allocations: 0 / 0.9828 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.8617, allocations: 0 / 0.9828 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.8617, allocations: 8 kB / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.8619, allocations: 67.88 kB / 0.9829 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.8623, allocations: 288.7 kB / 0.9832 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.8625, allocations: 62.55 kB / 0.9833 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.8625, allocations: 0 / 0.9833 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.8626, allocations: 38.59 kB / 0.9833 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 3.326e-06/0.8626, allocations: 4 kB / 0.9833 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004047/0.863, allocations: 125.7 kB / 0.9834 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.863, allocations: 51.41 kB / 0.9835 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.8631, allocations: 113.8 kB / 0.9836 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.8631, allocations: 25.7 kB / 0.9836 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.8632, allocations: 88.14 kB / 0.9837 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.8632, allocations: 11.75 kB / 0.9837 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.8632, allocations: 4 kB / 0.9837 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.8633, allocations: 318.8 kB / 0.984 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/0.8634, allocations: 27.98 kB / 0.984 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.8635, allocations: 27.97 kB / 0.984 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.576e-05/0.8636, allocations: 27.98 kB / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.8636, allocations: 0 / 0.9841 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002319/0.8639, allocations: 105.5 kB / 0.9842 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.8639, allocations: 4 kB / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.8639, allocations: 0 / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.8639, allocations: 0 / 0.9842 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.864, allocations: 15.98 kB / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.864, allocations: 0 / 0.9842 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.505e-05/0.8641, allocations: 19.89 kB / 0.9842 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.8641, allocations: 0 / 0.9842 GB, free: 2.602 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/0.8642, allocations: 113.8 kB / 0.9843 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.8642, allocations: 4.281 kB / 0.9843 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.8643, allocations: 7.906 kB / 0.9843 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8643, allocations: 7.984 kB / 0.9843 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8643, allocations: 3.984 kB / 0.9843 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.8643, allocations: 0 / 0.9843 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.8645, allocations: 173.7 kB / 0.9845 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8645, allocations: 3.938 kB / 0.9845 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.8646, allocations: 19.92 kB / 0.9845 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.8646, allocations: 3.953 kB / 0.9845 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.8646, allocations: 7.984 kB / 0.9845 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8646, allocations: 3.938 kB / 0.9845 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.8646, allocations: 0 / 0.9845 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.8649, allocations: 191.4 kB / 0.9847 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.8649, allocations: 81.11 kB / 0.9848 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.8649, allocations: 3.953 kB / 0.9848 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.865, allocations: 7.984 kB / 0.9848 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.8651, allocations: 15.98 kB / 0.9848 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.8651, allocations: 4 kB / 0.9848 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.834e-05/0.8652, allocations: 87.53 kB / 0.9849 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8652, allocations: 0 / 0.9849 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000206/0.8654, allocations: 8 kB / 0.9849 GB, free: 1.77 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005828/0.866, allocations: 0.728 MB / 0.9856 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002398/0.8662, allocations: 63.95 kB / 0.9857 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8662, allocations: 0 / 0.9857 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.8663, allocations: 35.91 kB / 0.9857 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.8666, allocations: 11.95 kB / 0.9857 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009421/0.8675, allocations: 475.5 kB / 0.9862 GB, free: 400 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.8678, allocations: 0.6809 MB / 0.9869 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.8679, allocations: 7.984 kB / 0.9869 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.8679, allocations: 18.06 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.8679, allocations: 3.938 kB / 0.9869 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0455/0.9134, allocations: 1.498 MB / 0.9884 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/0.9137, allocations: 196.8 kB / 0.9885 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.383, allocations: 4 kB / 0.9886 GB, free: 14.09 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat does not exist to compare? outputFormat=mat