Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.001902/0.001902, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002465/0.002465, allocations: 213.6 kB / 22.25 MB, free: 5.082 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8.02 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 3.018/3.018, allocations: 476.7 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] 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.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.002199/0.002199, allocations: 66.83 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3415, allocations: 170 MB / 1.283 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001879/0.3434, allocations: 0.5965 MB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3449, allocations: 1.157 MB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.345, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.345, allocations: 3.984 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/0.3451, allocations: 11.88 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.3456, allocations: 123.3 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.3458, allocations: 95.81 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.639e-05/0.3459, allocations: 4 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.069e-05/0.346, allocations: 31.98 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3461, allocations: 35.88 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.3461, allocations: 12 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.3462, allocations: 19.98 kB / 1.285 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.3462, allocations: 7.938 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.16e-05/0.3463, allocations: 27.92 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.3464, allocations: 87.3 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3465, allocations: 0 / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3465, allocations: 4 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.3465, allocations: 0 / 1.286 GB, free: 9.555 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.000504/0.347, allocations: 300 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.347, allocations: 12.03 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.635e-05/0.347, allocations: 34.73 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.3471, allocations: 12.83 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.3472, allocations: 110.5 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.3472, allocations: 4.375 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.3473, allocations: 8.375 kB / 1.286 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.3474, allocations: 34.25 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3474, allocations: 3.938 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3474, allocations: 0 / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.3474, allocations: 7.984 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.3474, allocations: 15.98 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.3479, allocations: 263.9 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.095e-05/0.3479, allocations: 26.52 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.585e-05/0.348, allocations: 16.91 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.348, allocations: 0 / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.3482, allocations: 67.34 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3482, allocations: 0 / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002247/0.3484, allocations: 69.62 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.3485, allocations: 51.41 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3486, allocations: 113.8 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.3486, allocations: 33.64 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.3487, allocations: 84.14 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.3487, allocations: 11.91 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.3488, allocations: 37.69 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3489, allocations: 314.8 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.349, allocations: 27.98 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.276e-05/0.3491, allocations: 58.92 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.3492, allocations: 84.16 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3492, allocations: 4 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002723/0.3495, allocations: 151.3 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.3496, allocations: 37.7 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3496, allocations: 0 / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3496, allocations: 4 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.3496, allocations: 0 / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3496, allocations: 4.062 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.3498, allocations: 23.97 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3499, allocations: 16.05 kB / 1.287 GB, free: 7.312 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: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.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.0001067/0.35, allocations: 125.7 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.35, allocations: 3.953 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.35, allocations: 8 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.35, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.35, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.35, allocations: 3.984 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.3501, allocations: 136.7 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3501, allocations: 0 / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.3502, allocations: 8 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3502, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.3502, allocations: 3.984 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3502, allocations: 0 / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3502, allocations: 0 / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.3503, allocations: 85 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.49e-05/0.3503, allocations: 11.95 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.3503, allocations: 0 / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.3503, allocations: 8 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.3504, allocations: 7.984 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3504, allocations: 3.938 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.216e-05/0.3504, allocations: 87.27 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3504, allocations: 3.938 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002115/0.3506, allocations: 16 kB / 1.288 GB, free: 6.734 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,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.00045/0.3511, allocations: 0.6322 MB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.3513, allocations: 111.3 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3513, allocations: 0 / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.3514, allocations: 12 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.3516, allocations: 9.531 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.3531, allocations: 1.397 MB / 1.29 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3534, allocations: 0.6807 MB / 1.291 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.791e-05/0.3535, allocations: 4 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3535, allocations: 15.42 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of SimCode: time 7.52e-07/0.3535, allocations: 0 / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.3821, allocations: 2.13 MB / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 4.75 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.49996152194217]