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.001345/0.001345, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001502/0.001502, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.743/2.743, allocations: 476 MB / 0.7707 GB, free: 4.715 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: 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: 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.002146/0.002146, allocations: 65.42 kB / 1.118 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3292, allocations: 170 MB / 1.284 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002005/0.3312, allocations: 0.5854 MB / 1.284 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3329, allocations: 1.133 MB / 1.285 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.804e-05/0.3329, allocations: 4 kB / 1.285 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.058e-05/0.333, allocations: 3.938 kB / 1.285 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.118e-05/0.333, allocations: 7.922 kB / 1.285 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005106/0.3335, allocations: 122.5 kB / 1.286 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.3337, allocations: 87.88 kB / 1.286 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.3338, allocations: 7.938 kB / 1.286 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.814e-05/0.3339, allocations: 31.98 kB / 1.286 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.334, allocations: 35.88 kB / 1.286 GB, free: 1.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.334, allocations: 12 kB / 1.286 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.3341, allocations: 15.98 kB / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.3341, allocations: 11.94 kB / 1.286 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.3341, allocations: 27.86 kB / 1.286 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.3343, allocations: 87.72 kB / 1.286 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3343, allocations: 0 / 1.286 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3343, allocations: 4 kB / 1.286 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3343, allocations: 0 / 1.286 GB, free: 1.562 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.0005117/0.3348, allocations: 300 kB / 1.286 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3349, allocations: 8.031 kB / 1.286 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.3349, allocations: 8.891 kB / 1.286 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.335, allocations: 114.5 kB / 1.286 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.3351, allocations: 4.359 kB / 1.286 GB, free: 1.074 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.3351, allocations: 8.375 kB / 1.286 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.371e-05/0.3352, allocations: 38.25 kB / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3352, allocations: 192 / 1.286 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3352, allocations: 7.875 kB / 1.286 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3352, allocations: 0 / 1.286 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.351e-05/0.3352, allocations: 15.94 kB / 1.286 GB, free: 1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.3356, allocations: 228.6 kB / 1.287 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.227e-05/0.3357, allocations: 26.56 kB / 1.287 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.585e-05/0.3357, allocations: 12.92 kB / 1.287 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.3358, allocations: 3.938 kB / 1.287 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/0.3359, allocations: 71.31 kB / 1.287 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.3359, allocations: 0 / 1.287 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002034/0.3361, allocations: 69.64 kB / 1.287 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3362, allocations: 55.39 kB / 1.287 GB, free: 480 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3363, allocations: 105.8 kB / 1.287 GB, free: 364 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.3363, allocations: 33.7 kB / 1.287 GB, free: 324 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.3364, allocations: 84.14 kB / 1.287 GB, free: 236 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.3364, allocations: 7.953 kB / 1.287 GB, free: 228 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.3365, allocations: 33.7 kB / 1.287 GB, free: 188 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3366, allocations: 314.8 kB / 1.287 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3367, allocations: 65.61 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3369, allocations: 84.56 kB / 1.288 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.337, allocations: 80.28 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.337, allocations: 0 / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003056/0.3373, allocations: 188.9 kB / 1.288 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.3373, allocations: 33.7 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3373, allocations: 4.141 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3373, allocations: 0 / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.3374, allocations: 11.92 kB / 1.288 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.3374, allocations: 3.984 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.3376, allocations: 23.97 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.3376, allocations: 11.94 kB / 1.288 GB, free: 15.31 MB / 0.9981 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.0001015/0.3377, allocations: 113.8 kB / 1.288 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.3377, allocations: 7.891 kB / 1.288 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.11e-05/0.3378, allocations: 19.98 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3378, allocations: 0 / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3378, allocations: 0 / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3378, allocations: 0 / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.3379, allocations: 113.2 kB / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3379, allocations: 0 / 1.288 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.851e-05/0.3379, allocations: 3.938 kB / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3379, allocations: 0 / 1.288 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.3379, allocations: 8.062 kB / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3379, allocations: 0 / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3379, allocations: 0 / 1.288 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.3381, allocations: 93.05 kB / 1.288 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.3381, allocations: 15.83 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3381, allocations: 0 / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.3381, allocations: 0 / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-05/0.3381, allocations: 4 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.3381, allocations: 3.984 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.3382, allocations: 87.27 kB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3382, allocations: 4 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002135/0.3384, allocations: 12 kB / 1.288 GB, free: 14.77 MB / 0.9981 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.0001411/0.3386, allocations: 107.2 kB / 1.288 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002561/0.3388, allocations: 141 kB / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3388, allocations: 0 / 1.289 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-05/0.3389, allocations: 15.98 kB / 1.289 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.3391, allocations: 14.44 kB / 1.289 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.3394, allocations: 159.7 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.307e-05/0.3395, allocations: 63.34 kB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.3395, allocations: 11.44 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3395, allocations: 4.125 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.002949/0.3424, allocations: 0.9471 MB / 1.29 GB, free: 13.25 MB / 0.9981 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/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: 10.924033393152058]