Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001469/0.001469, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001817/0.001817, allocations: 169.5 kB / 22.46 MB, free: 5.363 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.551/1.551, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.038/3.038, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 3.938 kB / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.456e-05, allocations: 6.219 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001785/0.00182, allocations: 0.5967 MB / 1.001 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.003449, allocations: 1.135 MB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.003496, allocations: 0 / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.003531, allocations: 3.938 kB / 1.002 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.003613, allocations: 3.938 kB / 1.002 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.004184, allocations: 134.8 kB / 1.002 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.004364, allocations: 83.83 kB / 1.002 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.004477, allocations: 15.98 kB / 1.002 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.004605, allocations: 47.95 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.004717, allocations: 19.97 kB / 1.002 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.312e-05/0.00475, allocations: 8 kB / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.004827, allocations: 19.98 kB / 1.002 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.004849, allocations: 7.938 kB / 1.002 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.834e-05/0.004928, allocations: 31.95 kB / 1.002 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.005166, allocations: 103.7 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.005169, allocations: 0 / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.753e-06/0.00517, allocations: 0 / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.005175, allocations: 0 / 1.002 GB, free: 5.102 MB / 0.9512 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.0006029/0.005778, allocations: 307.9 kB / 1.003 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.005821, allocations: 8.031 kB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.00588, allocations: 4.938 kB / 1.003 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.006012, allocations: 109.8 kB / 1.003 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.006042, allocations: 4.375 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.006067, allocations: 4.375 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.006184, allocations: 42.25 kB / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.006194, allocations: 192 / 1.003 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.006204, allocations: 4.312 kB / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.006209, allocations: 384 / 1.003 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.849e-05/0.006267, allocations: 19.86 kB / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.006727, allocations: 228.6 kB / 1.003 GB, free: 4.285 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.00681, allocations: 34.56 kB / 1.003 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.006836, allocations: 8.844 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.006855, allocations: 4.062 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.007047, allocations: 63.33 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 2.305e-06/0.007049, allocations: 0 / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0002847/0.007334, allocations: 73.58 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.00742, allocations: 55.41 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.007535, allocations: 105.8 kB / 1.003 GB, free: 3.895 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.00757, allocations: 37.7 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.007643, allocations: 84.12 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.007661, allocations: 11.89 kB / 1.003 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.833e-05/0.007739, allocations: 33.7 kB / 1.003 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.007896, allocations: 310.8 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.008011, allocations: 65.67 kB / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.008135, allocations: 80.2 kB / 1.004 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.008278, allocations: 80.27 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.008281, allocations: 64 / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003397/0.00862, allocations: 204.9 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.008661, allocations: 33.64 kB / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.008667, allocations: 0 / 1.004 GB, free: 2.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.008684, allocations: 4 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.008744, allocations: 3.938 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.008756, allocations: 7.984 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.008966, allocations: 23.97 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.008987, allocations: 4 kB / 1.004 GB, free: 2.844 MB / 0.9512 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.0001518/0.009139, allocations: 118.4 kB / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.009156, allocations: 7.953 kB / 1.004 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.009194, allocations: 11.94 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.009199, allocations: 3.984 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.009204, allocations: 0 / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.009208, allocations: 0 / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.009322, allocations: 109.3 kB / 1.004 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.009323, allocations: 0 / 1.004 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.975e-05/0.009343, allocations: 4 kB / 1.004 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.009346, allocations: 3.938 kB / 1.004 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.009354, allocations: 0 / 1.004 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.009358, allocations: 7.938 kB / 1.004 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009359, allocations: 0 / 1.004 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.009499, allocations: 85.06 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.009512, allocations: 11.94 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.009529, allocations: 4 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.009547, allocations: 3.938 kB / 1.005 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.009572, allocations: 4 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.00958, allocations: 4 kB / 1.005 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.009633, allocations: 83.27 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7e-08/0.009633, allocations: 0 / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002268/0.00986, allocations: 24 kB / 1.005 GB, free: 2.305 MB / 0.9512 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.0001638/0.01002, allocations: 103.2 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.01029, allocations: 145 kB / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01029, allocations: 0 / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.388e-05/0.01033, allocations: 8 kB / 1.005 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.01054, allocations: 16.55 kB / 1.005 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.01091, allocations: 125.3 kB / 1.005 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.848e-05/0.01099, allocations: 70.47 kB / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.413e-05/0.01101, allocations: 7.922 kB / 1.005 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.079e-05/0.01106, allocations: 12.5 kB / 1.005 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.01106, allocations: 0 / 1.005 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of Templates: time 0.004901/0.01596, allocations: 1.184 MB / 1.006 GB, free: 0.6016 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.479403547942638]