Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 103.8 kB / 17.07 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 194.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.739/2.739, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 71.88 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3108, allocations: 151.6 MB / 1.176 GB, free: 5.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001832/0.3127, allocations: 0.6041 MB / 1.176 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.3143, allocations: 1.117 MB / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.3143, allocations: 0 / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.3144, allocations: 0 / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.544e-05/0.3145, allocations: 3.938 kB / 1.178 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.315, allocations: 131.2 kB / 1.178 GB, free: 4 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.3152, allocations: 103.8 kB / 1.178 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.173e-05/0.3152, allocations: 4 kB / 1.178 GB, free: 3.895 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.3153, allocations: 35.91 kB / 1.178 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3154, allocations: 39.88 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.3155, allocations: 8 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.129e-05/0.3155, allocations: 23.98 kB / 1.178 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.3156, allocations: 4 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.3156, allocations: 27.92 kB / 1.178 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.3158, allocations: 87.72 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3158, allocations: 0 / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3158, allocations: 0 / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3158, allocations: 0 / 1.178 GB, free: 3.672 MB / 0.92 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.0005213/0.3164, allocations: 381 kB / 1.178 GB, free: 3.242 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3164, allocations: 8.031 kB / 1.178 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.3164, allocations: 8.922 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3166, allocations: 184.2 kB / 1.179 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3166, allocations: 384 / 1.179 GB, free: 3.008 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.3166, allocations: 4.375 kB / 1.179 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.242e-05/0.3167, allocations: 42.25 kB / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3168, allocations: 192 / 1.179 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3168, allocations: 3.938 kB / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3168, allocations: 0 / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.3168, allocations: 15.98 kB / 1.179 GB, free: 2.938 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.3172, allocations: 288.9 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.957e-05/0.3173, allocations: 34.45 kB / 1.179 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.3174, allocations: 12.91 kB / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.3174, allocations: 0 / 1.179 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.3175, allocations: 63.39 kB / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3175, allocations: 0 / 1.179 GB, free: 2.473 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001968/0.3178, allocations: 73.62 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3178, allocations: 51.41 kB / 1.179 GB, free: 2.332 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.3179, allocations: 109.8 kB / 1.179 GB, free: 2.215 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.3179, allocations: 33.7 kB / 1.179 GB, free: 2.176 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.318, allocations: 80.14 kB / 1.179 GB, free: 2.094 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.318, allocations: 15.94 kB / 1.179 GB, free: 2.078 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.3181, allocations: 29.7 kB / 1.179 GB, free: 2.043 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3182, allocations: 310.8 kB / 1.18 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.72e-05/0.3183, allocations: 35.98 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3184, allocations: 54.55 kB / 1.18 GB, free: 1.633 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3186, allocations: 80.28 kB / 1.18 GB, free: 1.539 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3186, allocations: 3.938 kB / 1.18 GB, free: 1.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002585/0.3188, allocations: 159.2 kB / 1.18 GB, free: 1.367 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.3189, allocations: 37.77 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3189, allocations: 0 / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3189, allocations: 0 / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.319, allocations: 4 kB / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.319, allocations: 400 / 1.18 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3192, allocations: 36.14 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3192, allocations: 4 kB / 1.18 GB, free: 1.281 MB / 0.92 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.0001023/0.3193, allocations: 121.7 kB / 1.18 GB, free: 1.152 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.3193, allocations: 7.938 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.3194, allocations: 11.89 kB / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3194, allocations: 0 / 1.18 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3194, allocations: 7.984 kB / 1.18 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3194, allocations: 0 / 1.18 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.3195, allocations: 161.6 kB / 1.18 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3196, allocations: 4 kB / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.3196, allocations: 0 / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3196, allocations: 3.984 kB / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3196, allocations: 4 kB / 1.18 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3196, allocations: 8 kB / 1.18 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3196, allocations: 3.984 kB / 1.18 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.3197, allocations: 85.02 kB / 1.18 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.3198, allocations: 81.05 kB / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3198, allocations: 7.922 kB / 1.181 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.554e-05/0.3198, allocations: 4 kB / 1.181 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.3199, allocations: 0 / 1.181 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.3199, allocations: 4 kB / 1.181 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.3199, allocations: 95.27 kB / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3199, allocations: 0 / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002051/0.3202, allocations: 16 kB / 1.181 GB, free: 0.5625 MB / 0.92 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.0001486/0.3203, allocations: 103.2 kB / 1.181 GB, free: 464 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3206, allocations: 123.3 kB / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3206, allocations: 0 / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.3206, allocations: 19.98 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.3208, allocations: 16 kB / 1.181 GB, free: 292 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003079/0.3211, allocations: 147.7 kB / 1.181 GB, free: 112 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3215, allocations: 0.6807 MB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.3215, allocations: 11.44 kB / 1.182 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3215, allocations: 0 / 1.182 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of Templates: time 0.002742/0.3242, allocations: 0.9313 MB / 1.183 GB, free: 14.47 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.47506359196268]