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.001246/0.001246, allocations: 99.16 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.001597/0.001597, 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.407/1.407, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.366/2.366, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003798, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9211/0.9215, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0007043/0.9222, allocations: 381.2 kB / 0.954 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.9231, allocations: 0.8232 MB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.9232, allocations: 1.375 kB / 0.9548 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.9232, allocations: 7.875 kB / 0.9548 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.535e-05/0.9233, allocations: 3.984 kB / 0.9548 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.9234, allocations: 16.8 kB / 0.9548 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.791e-05/0.9235, allocations: 31.69 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.9235, allocations: 16.8 kB / 0.9548 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.9236, allocations: 10.55 kB / 0.9549 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.9237, allocations: 21.78 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.9237, allocations: 1.406 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.9237, allocations: 2.719 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.9237, allocations: 12.52 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.9238, allocations: 28.3 kB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.621e-05/0.9238, allocations: 25.47 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.9238, allocations: 1.406 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9238, allocations: 0 / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.9238, allocations: 4 kB / 0.9549 GB, free: 6.988 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.0003737/0.9242, allocations: 349 kB / 0.9553 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9243, allocations: 8.344 kB / 0.9553 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.904e-05/0.9243, allocations: 32 kB / 0.9553 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.9243, allocations: 10.39 kB / 0.9553 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.161e-05/0.9244, allocations: 173.2 kB / 0.9555 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.9245, allocations: 14.3 kB / 0.9555 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.9245, allocations: 1.969 kB / 0.9555 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.9247, allocations: 72.7 kB / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.9247, allocations: 0 / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.9247, allocations: 0 / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.9247, allocations: 0.9375 kB / 0.9556 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.9249, allocations: 68.38 kB / 0.9556 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.9252, allocations: 277.5 kB / 0.9559 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.9254, allocations: 72.59 kB / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.9255, allocations: 0 / 0.956 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.9255, allocations: 31.66 kB / 0.956 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.9255, allocations: 0 / 0.956 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000391/0.9259, allocations: 135.3 kB / 0.9561 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.9259, allocations: 52.81 kB / 0.9562 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.841e-05/0.926, allocations: 106.1 kB / 0.9563 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.926, allocations: 25.7 kB / 0.9563 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.926, allocations: 89.92 kB / 0.9564 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.9261, allocations: 21.14 kB / 0.9564 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.9261, allocations: 4 kB / 0.9564 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.05e-05/0.9261, allocations: 312.2 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.9262, allocations: 24.58 kB / 0.9567 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.391e-05/0.9263, allocations: 33.38 kB / 0.9568 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.9264, allocations: 38.17 kB / 0.9568 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9264, allocations: 0 / 0.9568 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002285/0.9267, allocations: 95.06 kB / 0.9569 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.9267, allocations: 8.844 kB / 0.9569 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.9267, allocations: 0 / 0.9569 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.9267, allocations: 5.078 kB / 0.9569 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.9268, allocations: 18.44 kB / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.9269, allocations: 1.562 kB / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.9269, allocations: 6 kB / 0.9569 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.927, allocations: 1.062 kB / 0.9569 GB, free: 5.055 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 6.137e-05/0.927, allocations: 121.3 kB / 0.9571 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.927, allocations: 6.125 kB / 0.9571 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.9271, allocations: 8.969 kB / 0.9571 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.9271, allocations: 3.953 kB / 0.9571 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9271, allocations: 1.156 kB / 0.9571 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.9271, allocations: 0 / 0.9571 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.9272, allocations: 175.2 kB / 0.9572 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.9272, allocations: 1.094 kB / 0.9572 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.329e-05/0.9273, allocations: 19.3 kB / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.9274, allocations: 0 / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.9274, allocations: 1.312 kB / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.9274, allocations: 0 / 0.9573 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.9274, allocations: 4.203 kB / 0.9573 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.9276, allocations: 193.9 kB / 0.9575 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.9277, allocations: 82.11 kB / 0.9575 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.9277, allocations: 5.062 kB / 0.9575 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.9278, allocations: 14.7 kB / 0.9576 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.9278, allocations: 7.141 kB / 0.9576 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.9279, allocations: 5.047 kB / 0.9576 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.683e-05/0.9279, allocations: 88.08 kB / 0.9576 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9279, allocations: 9.156 kB / 0.9577 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002226/0.9281, allocations: 6.344 kB / 0.9577 GB, free: 4.316 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.000424/0.9285, allocations: 0.7241 MB / 0.9584 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.9288, allocations: 64.16 kB / 0.9584 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.9288, allocations: 0 / 0.9584 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.9289, allocations: 34.7 kB / 0.9585 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.9291, allocations: 10.89 kB / 0.9585 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.93, allocations: 475 kB / 0.9589 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.669e-05/0.9301, allocations: 0.6896 MB / 0.9596 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.387e-05/0.9301, allocations: 5.312 kB / 0.9596 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.9302, allocations: 18.58 kB / 0.9596 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.9302, allocations: 0 / 0.9596 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.9409, allocations: 1.475 MB / 0.9611 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.9411, allocations: 197.2 kB / 0.9613 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.572, allocations: 0 / 0.9613 GB, free: 1.535 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