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.0008007/0.0008007, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007913/0.0007913, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8844/0.8844, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.656/1.656, allocations: 359 MB / 0.6044 GB, free: 11.11 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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.791e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001056/0.001074, allocations: 0.6092 MB / 0.9523 GB, free: 2.414 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009683/0.002042, allocations: 1.128 MB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.002077, allocations: 0 / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.002102, allocations: 0 / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.621e-05/0.002158, allocations: 15.84 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.002504, allocations: 127.4 kB / 0.9535 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.002629, allocations: 95.81 kB / 0.9536 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.792e-05/0.002707, allocations: 7.984 kB / 0.9536 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.26e-05/0.002789, allocations: 47.97 kB / 0.9537 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.422e-05/0.002864, allocations: 23.95 kB / 0.9537 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.002882, allocations: 8 kB / 0.9537 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-05/0.002931, allocations: 19.98 kB / 0.9537 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.002951, allocations: 11.92 kB / 0.9537 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.002989, allocations: 19.98 kB / 0.9538 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.003122, allocations: 103.8 kB / 0.9539 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.003123, allocations: 0 / 0.9539 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.61e-07/0.003124, allocations: 3.938 kB / 0.9539 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.055e-06/0.003127, allocations: 0 / 0.9539 GB, free: 0.8008 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.0003369/0.003464, allocations: 303.9 kB / 0.9541 GB, free: 476 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.003498, allocations: 8.031 kB / 0.9542 GB, free: 468 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.003534, allocations: 4.938 kB / 0.9542 GB, free: 464 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.9e-05/0.003603, allocations: 117.8 kB / 0.9543 GB, free: 320 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.00362, allocations: 4.375 kB / 0.9543 GB, free: 316 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.003634, allocations: 4.375 kB / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.431e-05/0.003708, allocations: 42.19 kB / 0.9543 GB, free: 264 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.003715, allocations: 8.188 kB / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.003723, allocations: 384 / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.003728, allocations: 384 / 0.9543 GB, free: 256 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.003768, allocations: 7.938 kB / 0.9543 GB, free: 248 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.004048, allocations: 232.5 kB / 0.9546 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.004098, allocations: 30.52 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.004112, allocations: 4.859 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.004122, allocations: 4.062 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.094e-05/0.004213, allocations: 63.39 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.784e-06/0.004215, allocations: 4 kB / 0.9547 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0001575/0.004372, allocations: 73.61 kB / 0.9547 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.004402, allocations: 63.33 kB / 0.9548 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.004458, allocations: 109.8 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.004473, allocations: 25.7 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.004508, allocations: 88.14 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.888e-06/0.004517, allocations: 11.89 kB / 0.955 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.004557, allocations: 29.7 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.004625, allocations: 318.8 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.447e-05/0.00469, allocations: 61.69 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.004761, allocations: 80.25 kB / 0.9555 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.004832, allocations: 84.22 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.004834, allocations: 3.938 kB / 0.9556 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001634/0.004997, allocations: 185 kB / 0.9557 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.005024, allocations: 41.64 kB / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.005029, allocations: 0 / 0.9558 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.005041, allocations: 11.92 kB / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.275e-05/0.005083, allocations: 0 / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.005088, allocations: 4 kB / 0.9558 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.005207, allocations: 31.98 kB / 0.9558 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.005218, allocations: 4 kB / 0.9558 GB, free: 14.54 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 5.408e-05/0.005272, allocations: 113.8 kB / 0.9559 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.005279, allocations: 7.984 kB / 0.9559 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.813e-05/0.005297, allocations: 7.938 kB / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005298, allocations: 0 / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.005302, allocations: 0 / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005305, allocations: 0 / 0.956 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.256e-05/0.005367, allocations: 117.3 kB / 0.9561 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-07/0.005368, allocations: 7.938 kB / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-06/0.005375, allocations: 4 kB / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.005376, allocations: 0 / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.005382, allocations: 0 / 0.9561 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.005383, allocations: 3.938 kB / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.005384, allocations: 0 / 0.9561 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.179e-05/0.005456, allocations: 89.06 kB / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.529e-06/0.00546, allocations: 0 / 0.9562 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-06/0.00547, allocations: 4 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-06/0.005479, allocations: 3.938 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.005501, allocations: 3.984 kB / 0.9562 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.005505, allocations: 8 kB / 0.9562 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.00553, allocations: 83.67 kB / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.00553, allocations: 0 / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001445/0.005675, allocations: 20 kB / 0.9563 GB, free: 14.01 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 9.223e-05/0.005767, allocations: 103.4 kB / 0.9564 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.005919, allocations: 141.1 kB / 0.9565 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005921, allocations: 0 / 0.9565 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.323e-05/0.005944, allocations: 15.92 kB / 0.9565 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.006082, allocations: 23.98 kB / 0.9566 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.006292, allocations: 158.5 kB / 0.9567 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.683e-05/0.006328, allocations: 67.25 kB / 0.9568 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.006343, allocations: 12.5 kB / 0.9568 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of SimCode: time 6.41e-07/0.006344, allocations: 3.938 kB / 0.9568 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of Templates: time 0.001705/0.008049, allocations: 0.938 MB / 0.9577 GB, free: 12.49 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] 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/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.356709247455001]