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.001586/0.001586, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001594/0.001594, allocations: 216.9 kB / 22.26 MB, free: 5.125 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.984 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.779/2.779, allocations: 476.7 MB / 0.7707 GB, free: 4.27 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.002141/0.002141, allocations: 68.27 kB / 1.117 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3137, allocations: 169.9 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.001807/0.3155, allocations: 0.6141 MB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.317, allocations: 1.157 MB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.317, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.317, allocations: 0 / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.3171, allocations: 3.938 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.3176, allocations: 125.6 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.3177, allocations: 91.81 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.3178, allocations: 4 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.3179, allocations: 35.92 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.995e-05/0.318, allocations: 39.88 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.318, allocations: 8 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.906e-05/0.3181, allocations: 23.98 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.3181, allocations: 4 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.3181, allocations: 31.91 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.3183, allocations: 87.3 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3183, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3183, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3183, allocations: 0 / 1.286 GB, free: 9.371 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.0004507/0.3188, allocations: 300 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3188, allocations: 12.03 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.3189, allocations: 38.69 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.3189, allocations: 12.83 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.319, allocations: 110.5 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.319, allocations: 8.375 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.319, allocations: 4.375 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.3192, allocations: 42.25 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3192, allocations: 3.938 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3192, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3192, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.3192, allocations: 8 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.3197, allocations: 267.9 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.844e-05/0.3197, allocations: 34.45 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.3197, allocations: 4.859 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3198, allocations: 4.062 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.32, allocations: 63.34 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.32, allocations: 4 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002133/0.3202, allocations: 73.75 kB / 1.286 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.3202, allocations: 51.41 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/0.3203, allocations: 105.8 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.3203, allocations: 29.7 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.3204, allocations: 88.14 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.3204, allocations: 7.906 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.451e-05/0.3205, allocations: 33.7 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3206, allocations: 322.8 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.589e-05/0.3207, allocations: 27.98 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.792e-05/0.3208, allocations: 46.61 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.3209, allocations: 92.14 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3209, allocations: 4 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002669/0.3212, allocations: 155.3 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.258e-05/0.3212, allocations: 44.03 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.3212, allocations: 4 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.3212, allocations: 0 / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.3213, allocations: 0 / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3213, allocations: 4 kB / 1.287 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3215, allocations: 27.92 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3215, allocations: 15.98 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 9.811e-05/0.3216, allocations: 121.7 kB / 1.288 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.3216, allocations: 4 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.3216, allocations: 8 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3216, allocations: 0 / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3216, allocations: 0 / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3216, allocations: 0 / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.3218, allocations: 136.7 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3218, allocations: 3.938 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.3218, allocations: 8 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3218, allocations: 0 / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.3218, allocations: 3.938 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3218, allocations: 0 / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3218, allocations: 0 / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.3219, allocations: 100.9 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.3219, allocations: 0 / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3219, allocations: 0 / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.322, allocations: 4 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.322, allocations: 7.984 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.322, allocations: 0 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.56e-05/0.322, allocations: 91.66 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.322, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002092/0.3223, allocations: 12 kB / 1.288 GB, free: 6.559 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.0004554/0.3227, allocations: 0.628 MB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3229, allocations: 115.3 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3229, allocations: 0 / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.247e-05/0.323, allocations: 12 kB / 1.289 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.3232, allocations: 9.875 kB / 1.289 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.3247, allocations: 1.408 MB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.325, allocations: 0.6768 MB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.342e-05/0.325, allocations: 4 kB / 1.291 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.3251, allocations: 15.42 kB / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of SimCode: time 6.91e-07/0.3251, allocations: 0 / 1.291 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.3534, allocations: 2.142 MB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.26, allocations: 2.875 kB / 1.293 GB, free: 1.539 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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] "Error: Could not read variable booToRea.u in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv. Warning: Get data of variable booToRea.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.083736303000478]