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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 178.2 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004154/0.0004155, allocations: 8 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7665, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0008512/0.7674, allocations: 344.5 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.769, allocations: 1.124 MB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.854e-05/0.769, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.769, allocations: 0 / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.7691, allocations: 3.938 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.7696, allocations: 103.7 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.7697, allocations: 79.77 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.7698, allocations: 15.98 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.7699, allocations: 27.97 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.66e-05/0.77, allocations: 23.91 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.77, allocations: 4 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.7701, allocations: 19.98 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.7701, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.131e-05/0.7702, allocations: 61.59 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.7703, allocations: 55.81 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7703, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7703, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.7703, allocations: 4 kB / 1.026 GB, free: 13.96 MB / 0.7794 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.0004114/0.7707, allocations: 368.5 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7708, allocations: 12.03 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.7708, allocations: 8.844 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.771, allocations: 168.4 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.771, allocations: 4.375 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.771, allocations: 8.312 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/0.7711, allocations: 38.25 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.7711, allocations: 4.188 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.7712, allocations: 7.938 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.7712, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.7712, allocations: 8 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.7716, allocations: 288.9 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.245e-05/0.7717, allocations: 34.45 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.7718, allocations: 12.92 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.7718, allocations: 4 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001158/0.7719, allocations: 63.38 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.7719, allocations: 0 / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001951/0.7721, allocations: 73.52 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.7721, allocations: 51.41 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.7722, allocations: 117.8 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.7723, allocations: 25.7 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.7723, allocations: 88.14 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.7724, allocations: 7.906 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.7724, allocations: 13.72 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.7725, allocations: 322.8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.7726, allocations: 27.98 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.7727, allocations: 46.56 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.7728, allocations: 96.27 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.7728, allocations: 3.938 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002513/0.7731, allocations: 151.1 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/0.7732, allocations: 41.69 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7732, allocations: 0 / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.7732, allocations: 4 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/0.7732, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.7733, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.7735, allocations: 47.95 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.7735, allocations: 4 kB / 1.028 GB, free: 11.58 MB / 0.7794 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 9.274e-05/0.7736, allocations: 118.3 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.7736, allocations: 4 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.7737, allocations: 11.84 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.7737, allocations: 4 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7737, allocations: 0 / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.7737, allocations: 7.984 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.7738, allocations: 161.5 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7738, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.7739, allocations: 4 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-05/0.7739, allocations: 3.984 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.7739, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7739, allocations: 0 / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7739, allocations: 4 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.774, allocations: 93.28 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.7741, allocations: 77.11 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.7741, allocations: 3.984 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.455e-05/0.7741, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.7742, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.7742, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.307e-05/0.7742, allocations: 99.58 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7742, allocations: 3.938 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002144/0.7744, allocations: 16 kB / 1.028 GB, free: 10.88 MB / 0.7794 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.0001312/0.7746, allocations: 103.2 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.7748, allocations: 123.4 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7748, allocations: 0 / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.017e-05/0.7749, allocations: 23.92 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.7751, allocations: 11.94 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.7754, allocations: 168.3 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.7757, allocations: 0.6809 MB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.7757, allocations: 7.438 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of SimCode: time 5.41e-07/0.7757, allocations: 0 / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of Templates: time 0.002513/0.7782, allocations: 0.9233 MB / 1.03 GB, free: 8.773 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches