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.0008326/0.0008326, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.00102/0.00102, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9244/0.9244, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.376e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00149/0.001514, allocations: 0.6051 MB / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.002628, allocations: 1.132 MB / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.267e-05/0.002671, allocations: 0 / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.002698, allocations: 0 / 0.9522 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.063e-05/0.002759, allocations: 3.938 kB / 0.9522 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.003191, allocations: 129.8 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.003319, allocations: 87.88 kB / 0.9524 GB, free: 1.562 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.003409, allocations: 12 kB / 0.9524 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.003492, allocations: 43.91 kB / 0.9524 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.003577, allocations: 31.94 kB / 0.9525 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.003595, allocations: 8 kB / 0.9525 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.59e-05/0.003651, allocations: 19.98 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.003671, allocations: 7.938 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.003714, allocations: 27.97 kB / 0.9525 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.003863, allocations: 99.77 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003865, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.213e-06/0.003866, allocations: 3.938 kB / 0.9526 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003871, allocations: 0 / 0.9526 GB, free: 1.312 MB / 0.9011 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.0003901/0.004261, allocations: 311.9 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.004307, allocations: 8.031 kB / 0.9529 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.004336, allocations: 38.69 kB / 0.953 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.004373, allocations: 4.938 kB / 0.953 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.004451, allocations: 101.8 kB / 0.9531 GB, free: 0.7852 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.004471, allocations: 4.375 kB / 0.9531 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.004485, allocations: 4.375 kB / 0.9531 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.004571, allocations: 46.19 kB / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.004577, allocations: 192 / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.004586, allocations: 384 / 0.9531 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004592, allocations: 8.109 kB / 0.9531 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.743e-05/0.004629, allocations: 15.98 kB / 0.9531 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.004954, allocations: 247.9 kB / 0.9534 GB, free: 428 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/0.005009, allocations: 34.5 kB / 0.9534 GB, free: 384 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.005028, allocations: 12.92 kB / 0.9534 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.005036, allocations: 0 / 0.9534 GB, free: 368 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.005184, allocations: 67.33 kB / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.005186, allocations: 0 / 0.9535 GB, free: 288 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001761/0.005362, allocations: 69.62 kB / 0.9536 GB, free: 212 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.005396, allocations: 51.41 kB / 0.9536 GB, free: 148 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.556e-05/0.005462, allocations: 117.8 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.00549, allocations: 29.7 kB / 0.9537 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.005532, allocations: 88.11 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.005543, allocations: 11.95 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.005587, allocations: 29.7 kB / 0.9539 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.00567, allocations: 314.8 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/0.005741, allocations: 61.67 kB / 0.9542 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.005809, allocations: 80.27 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.005893, allocations: 92.27 kB / 0.9544 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.005895, allocations: 4 kB / 0.9544 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001794/0.006074, allocations: 184.9 kB / 0.9546 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.006105, allocations: 32.2 kB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.006112, allocations: 4 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.006123, allocations: 0 / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.006179, allocations: 4 kB / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.006184, allocations: 0 / 0.9546 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.006318, allocations: 35.91 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.006331, allocations: 12 kB / 0.9547 GB, free: 14.97 MB / 0.9167 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 6.971e-05/0.0064, allocations: 117.8 kB / 0.9548 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.006408, allocations: 7.938 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.00643, allocations: 4 kB / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.006432, allocations: 0 / 0.9548 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.006437, allocations: 7.984 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006441, allocations: 3.938 kB / 0.9548 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.018e-05/0.006521, allocations: 128.8 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.006522, allocations: 0 / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.006535, allocations: 3.938 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.006536, allocations: 4 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.006547, allocations: 8 kB / 0.9549 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.006548, allocations: 0 / 0.9549 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.006549, allocations: 0 / 0.9549 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.271e-05/0.006632, allocations: 85.06 kB / 0.955 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.00664, allocations: 7.938 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-06/0.006649, allocations: 0 / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.068e-05/0.006659, allocations: 0 / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.306e-05/0.006683, allocations: 4 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.006689, allocations: 3.984 kB / 0.955 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.876e-05/0.006718, allocations: 83.67 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006718, allocations: 4 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001508/0.006869, allocations: 23.88 kB / 0.9551 GB, free: 14.41 MB / 0.9167 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.0003032/0.007172, allocations: 0.6364 MB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.007354, allocations: 145 kB / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.007356, allocations: 0 / 0.9559 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-05/0.007378, allocations: 8 kB / 0.9559 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.00756, allocations: 15.98 kB / 0.9559 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.008643, allocations: 1.528 MB / 0.9574 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.008683, allocations: 67.25 kB / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.008706, allocations: 0 / 0.9575 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.00874, allocations: 16.5 kB / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of SimCode: time 6.01e-07/0.008741, allocations: 0 / 0.9575 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.02644, allocations: 2.753 MB / 0.9602 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.773, allocations: 10.11 kB / 0.9602 GB, free: 9.203 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/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] "Error: Could not read variable booToInt.u in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv. Warning: Get data of variable booToInt.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.873469102196395]