Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.002004/0.002004, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.002489/0.002489, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.844/2.844, allocations: 476.7 MB / 0.7707 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BooleanToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",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.002065/0.002065, allocations: 64.88 kB / 1.117 GB, free: 39.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3253, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.002137/0.3275, allocations: 0.6197 MB / 1.284 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.3291, allocations: 1.157 MB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.3291, allocations: 0 / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.3292, allocations: 4 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.479e-05/0.3292, allocations: 7.938 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.3297, allocations: 118.3 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.3299, allocations: 87.89 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.33, allocations: 7.984 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.175e-05/0.3301, allocations: 39.86 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3302, allocations: 31.95 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.3302, allocations: 11.94 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.3303, allocations: 19.97 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.3303, allocations: 12 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.3303, allocations: 27.92 kB / 1.285 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3305, allocations: 83.3 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.3305, allocations: 4 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3305, allocations: 0 / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.3305, allocations: 0 / 1.286 GB, free: 9.363 MB / 0.9825 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.0004746/0.331, allocations: 298 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.3311, allocations: 12.03 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.3311, allocations: 38.73 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.3311, allocations: 8.891 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3312, allocations: 114.5 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.3313, allocations: 384 / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3313, allocations: 12.31 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.131e-05/0.3314, allocations: 38.25 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3314, allocations: 3.938 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.3314, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3314, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.3314, allocations: 15.98 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.3319, allocations: 260 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.522e-05/0.332, allocations: 34.44 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.332, allocations: 12.91 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.332, allocations: 3.938 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.3322, allocations: 63.34 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3322, allocations: 3.938 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002061/0.3324, allocations: 73.62 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.3324, allocations: 59.39 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.3325, allocations: 105.8 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.3325, allocations: 33.7 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.3326, allocations: 80.14 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.3326, allocations: 15.89 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.3327, allocations: 33.7 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3328, allocations: 310.8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.3329, allocations: 35.98 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.333, allocations: 54.55 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.3332, allocations: 84.16 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3332, allocations: 0 / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002815/0.3334, allocations: 155.3 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.3335, allocations: 37.77 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3335, allocations: 0 / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3335, allocations: 0 / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.3336, allocations: 4 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3336, allocations: 400 / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.3338, allocations: 31.91 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.3338, allocations: 8 kB / 1.287 GB, free: 7.125 MB / 0.9825 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.000114/0.3339, allocations: 125.7 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-06/0.3339, allocations: 4 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.3339, allocations: 11.94 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3339, allocations: 4 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3339, allocations: 3.984 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3339, allocations: 0 / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.3341, allocations: 132.7 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3341, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.521e-05/0.3341, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3341, allocations: 4 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.3341, allocations: 7.984 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3341, allocations: 4 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3341, allocations: 3.938 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.3342, allocations: 85.02 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.3342, allocations: 4 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3342, allocations: 4.062 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.772e-05/0.3343, allocations: 3.984 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.3343, allocations: 0 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.3343, allocations: 8 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.928e-05/0.3344, allocations: 91.2 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3344, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002186/0.3346, allocations: 23.94 kB / 1.288 GB, free: 6.539 MB / 0.9825 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.0004766/0.3351, allocations: 0.6205 MB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3353, allocations: 123.3 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3353, allocations: 0 / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.3353, allocations: 11.98 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.3355, allocations: 11.98 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.3372, allocations: 1.392 MB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3375, allocations: 0.6846 MB / 1.291 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.149e-05/0.3375, allocations: 3.984 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.3375, allocations: 15.44 kB / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3375, allocations: 0 / 1.291 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.3673, allocations: 2.133 MB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.52, allocations: 0.75 kB / 1.293 GB, free: 1.531 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.285686406074092]