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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001078/0.001078, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001487/0.001487, allocations: 172.7 kB / 15.95 MB, free: 208 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.416/1.416, allocations: 223.2 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.489/2.489, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.846/0.8464, allocations: 142.3 MB / 0.9539 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0008691/0.8473, allocations: 380 kB / 0.9542 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008298/0.8481, allocations: 0.8183 MB / 0.955 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.8482, allocations: 1.469 kB / 0.955 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.8482, allocations: 11.92 kB / 0.955 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.8483, allocations: 0 / 0.955 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.8484, allocations: 17.73 kB / 0.955 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.565e-05/0.8486, allocations: 37.05 kB / 0.9551 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.8487, allocations: 13.55 kB / 0.9551 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/0.8487, allocations: 13.59 kB / 0.9551 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.8488, allocations: 18.48 kB / 0.9551 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.8488, allocations: 2.969 kB / 0.9551 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.8489, allocations: 9.094 kB / 0.9551 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.8489, allocations: 17.02 kB / 0.9552 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.8489, allocations: 28.05 kB / 0.9552 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.84e-05/0.849, allocations: 34.08 kB / 0.9552 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.849, allocations: 0 / 0.9552 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.849, allocations: 0 / 0.9552 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.849, allocations: 0.9062 kB / 0.9552 GB, free: 7.117 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.0003959/0.8494, allocations: 352.2 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8494, allocations: 9.625 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.125e-05/0.8495, allocations: 31.69 kB / 0.9556 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.8495, allocations: 10.45 kB / 0.9556 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.8496, allocations: 173.5 kB / 0.9558 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.8496, allocations: 1.406 kB / 0.9558 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.8497, allocations: 2.719 kB / 0.9558 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.8499, allocations: 68.34 kB / 0.9558 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8499, allocations: 4 kB / 0.9558 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.8499, allocations: 0 / 0.9558 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.8499, allocations: 5.422 kB / 0.9558 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.8501, allocations: 63.94 kB / 0.9559 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.8505, allocations: 281.3 kB / 0.9562 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.8507, allocations: 68.05 kB / 0.9562 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.8508, allocations: 43.61 kB / 0.9563 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.8508, allocations: 5.188 kB / 0.9563 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.8508, allocations: 34.52 kB / 0.9563 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.8508, allocations: 1.25 kB / 0.9563 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003893/0.8512, allocations: 134.6 kB / 0.9564 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.8513, allocations: 52.5 kB / 0.9565 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.8513, allocations: 101.3 kB / 0.9566 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.8513, allocations: 25.7 kB / 0.9566 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.8514, allocations: 90.38 kB / 0.9567 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.8514, allocations: 12.75 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.8514, allocations: 5.031 kB / 0.9567 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.922e-05/0.8515, allocations: 315.8 kB / 0.957 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.905e-05/0.8516, allocations: 29.12 kB / 0.9571 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.634e-05/0.8517, allocations: 32.97 kB / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.28e-05/0.8518, allocations: 29.77 kB / 0.9571 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8518, allocations: 0 / 0.9571 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002166/0.852, allocations: 94.33 kB / 0.9572 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.852, allocations: 9.719 kB / 0.9572 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.852, allocations: 3.953 kB / 0.9572 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.852, allocations: 1.031 kB / 0.9572 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.8522, allocations: 15.7 kB / 0.9572 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8522, allocations: 3.938 kB / 0.9572 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.382e-05/0.8522, allocations: 14.58 kB / 0.9572 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.8523, allocations: 1.062 kB / 0.9572 GB, free: 5.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.8523, allocations: 111.9 kB / 0.9574 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.8524, allocations: 6.094 kB / 0.9574 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.8524, allocations: 9.094 kB / 0.9574 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8524, allocations: 3.953 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8525, allocations: 1.094 kB / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8525, allocations: 0 / 0.9574 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.8527, allocations: 171.5 kB / 0.9575 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8527, allocations: 256 / 0.9575 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.8528, allocations: 15.42 kB / 0.9576 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.8528, allocations: 13 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.8528, allocations: 0 / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8528, allocations: 1.25 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8528, allocations: 7.938 kB / 0.9576 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.8532, allocations: 189.2 kB / 0.9578 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.8532, allocations: 86.66 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.8532, allocations: 1.156 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.8534, allocations: 6.406 kB / 0.9578 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.974e-05/0.8535, allocations: 20.23 kB / 0.9579 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.8535, allocations: 1.25 kB / 0.9579 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.115e-05/0.8535, allocations: 80.06 kB / 0.9579 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8535, allocations: 0 / 0.9579 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003862/0.8539, allocations: 14.69 kB / 0.958 GB, free: 4.434 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 (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.0005758/0.8545, allocations: 0.7291 MB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.8548, allocations: 59.17 kB / 0.9587 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8548, allocations: 0 / 0.9587 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.8549, allocations: 53.5 kB / 0.9588 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.8552, allocations: 0 / 0.9588 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008175/0.856, allocations: 482.2 kB / 0.9592 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.8562, allocations: 0.6796 MB / 0.9599 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.8562, allocations: 7.5 kB / 0.9599 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.8563, allocations: 17.8 kB / 0.9599 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8563, allocations: 0 / 0.9599 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.8689, allocations: 1.492 MB / 0.9614 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.8692, allocations: 207.6 kB / 0.9616 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.665, allocations: 9.188 kB / 0.9616 GB, free: 1.629 MB / 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat does not exist to compare? outputFormat=mat