Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.1.1-maint.10.0.x/package.mo", uses=false) 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.BooleanToReal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.008978/0.008978, allocations: 99.17 kB / 15.73 MB, free: 6.5 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.002294/0.002294, allocations: 191.7 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.752/2.752, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.746/4.746, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003383/0.003383, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.573, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002934/0.576, allocations: 0.603 MB / 1.167 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.5786, allocations: 1.113 MB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.5787, allocations: 0 / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.038e-05/0.5788, allocations: 4 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.261e-05/0.5789, allocations: 15.91 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000845/0.5797, allocations: 127.6 kB / 1.168 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.58, allocations: 87.89 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.5801, allocations: 8 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.5803, allocations: 43.83 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.5804, allocations: 39.83 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.5805, allocations: 8 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.5806, allocations: 16 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.5807, allocations: 11.98 kB / 1.168 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.962e-05/0.5808, allocations: 27.91 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.581, allocations: 88 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.581, allocations: 0 / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5811, allocations: 4 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.5811, allocations: 0 / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007178/0.5818, allocations: 381 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.5819, allocations: 12.03 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.672e-05/0.5819, allocations: 30.75 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.582, allocations: 8.922 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.5822, allocations: 164.4 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.5823, allocations: 8.312 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.5823, allocations: 4.375 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.5825, allocations: 46.25 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.5825, allocations: 3.938 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5825, allocations: 0 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5826, allocations: 0 / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.567e-05/0.5826, allocations: 11.98 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.5833, allocations: 292.8 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.5834, allocations: 38.39 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.67e-05/0.5835, allocations: 20.89 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.5835, allocations: 0 / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.5837, allocations: 63.39 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 2.043e-06/0.5837, allocations: 0 / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003188/0.5841, allocations: 65.62 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.5842, allocations: 55.41 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.5843, allocations: 109.8 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.5844, allocations: 33.7 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.409e-05/0.5845, allocations: 84.14 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.5845, allocations: 15.92 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.5847, allocations: 29.7 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001898/0.5849, allocations: 314.8 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.585, allocations: 31.98 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.5852, allocations: 50.55 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.5854, allocations: 92.16 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.5855, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004857/0.5859, allocations: 155.2 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.194e-05/0.586, allocations: 33.7 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.586, allocations: 3.938 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.5861, allocations: 4 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.5862, allocations: 64 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5862, allocations: 8 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.5865, allocations: 27.95 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.5866, allocations: 8 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001727/0.5868, allocations: 113.8 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.5868, allocations: 7.938 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.5868, allocations: 7.906 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5869, allocations: 0 / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.5869, allocations: 7.984 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.5869, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.5871, allocations: 161.6 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5871, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.5872, allocations: 4 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/0.5872, allocations: 3.984 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.5872, allocations: 3.938 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5872, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5872, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.5875, allocations: 93.02 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.5876, allocations: 81.11 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.5876, allocations: 8.047 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/0.5876, allocations: 0 / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.5877, allocations: 4 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.5877, allocations: 3.938 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.253e-05/0.5878, allocations: 87.27 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5878, allocations: 0 / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003951/0.5882, allocations: 19.94 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007439/0.589, allocations: 0.628 MB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003917/0.5894, allocations: 127.6 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5894, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 6.615e-05/0.5895, allocations: 16.09 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.5899, allocations: 12.11 kB / 1.172 GB, free: 1.125 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.5925, allocations: 1.385 MB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.593, allocations: 0.6845 MB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.593, allocations: 7.984 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.5931, allocations: 11.44 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.5931, allocations: 4 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/0.7123, allocations: 2.005 MB / 1.176 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/18.2, allocations: 21.97 kB / 1.176 GB, free: 13 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches