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.1-maint.10.0.x/package.mo", uses=false) 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=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.001546/0.001546, allocations: 107.3 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 59.89 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8833/0.8848, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001889/0.8867, allocations: 0.6123 MB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.8883, allocations: 1.119 MB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.818e-05/0.8883, allocations: 0 / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.8884, allocations: 3.938 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.8885, allocations: 7.938 kB / 1.169 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.889, allocations: 118.8 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.8893, allocations: 95.88 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.8894, allocations: 7.984 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.299e-05/0.8894, allocations: 35.92 kB / 1.169 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.8896, allocations: 35.88 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.8896, allocations: 11.94 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.8897, allocations: 27.98 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.8897, allocations: 4 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.8898, allocations: 35.91 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.8899, allocations: 75.8 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8899, allocations: 0 / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.486e-06/0.89, allocations: 3.984 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.89, allocations: 0 / 1.169 GB, free: 1.629 MB / 0.8887 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.0004793/0.8905, allocations: 377 kB / 1.17 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.8905, allocations: 8.031 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.8906, allocations: 4.938 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.8907, allocations: 172.3 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.8907, allocations: 12.31 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.8907, allocations: 8.375 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.8908, allocations: 38.19 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.8909, allocations: 192 / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.8909, allocations: 3.938 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.8909, allocations: 7.984 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.8909, allocations: 11.98 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.8913, allocations: 286.7 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.54e-05/0.8914, allocations: 34.5 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.439e-05/0.8915, allocations: 12.92 kB / 1.17 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.8915, allocations: 3.938 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.8916, allocations: 63.33 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.8916, allocations: 0 / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001925/0.8918, allocations: 69.59 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.8919, allocations: 55.41 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.892, allocations: 113.8 kB / 1.171 GB, free: 180 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.892, allocations: 29.7 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.153e-05/0.892, allocations: 92.12 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.8921, allocations: 3.906 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.045e-05/0.8921, allocations: 29.7 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8923, allocations: 314.8 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/0.8923, allocations: 31.97 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.8924, allocations: 54.56 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.8926, allocations: 92.27 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8926, allocations: 3.938 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002446/0.8928, allocations: 143.3 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.8929, allocations: 37.7 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8929, allocations: 4.062 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8929, allocations: 3.984 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.893, allocations: 4 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.893, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.8932, allocations: 31.81 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.8932, allocations: 8 kB / 1.171 GB, free: 15.24 MB / 0.9044 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 8.323e-05/0.8933, allocations: 117.8 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.8933, allocations: 7.984 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.733e-05/0.8933, allocations: 11.84 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.8934, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.8934, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.8934, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.8935, allocations: 169.6 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8935, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.8935, allocations: 3.938 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.8935, allocations: 4 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.8935, allocations: 0 / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.8935, allocations: 0 / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8936, allocations: 4 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.8937, allocations: 84.97 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.8937, allocations: 81.09 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.8937, allocations: 4 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.586e-05/0.8938, allocations: 7.938 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.8938, allocations: 0 / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.8938, allocations: 4 kB / 1.172 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.607e-05/0.8938, allocations: 91.64 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8939, allocations: 0 / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002124/0.8941, allocations: 24 kB / 1.172 GB, free: 14.54 MB / 0.9044 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.0001301/0.8942, allocations: 107.5 kB / 1.172 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002228/0.8944, allocations: 127.6 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8944, allocations: 0 / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.95e-05/0.8945, allocations: 16.08 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.8947, allocations: 27.92 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.895, allocations: 151.7 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.8952, allocations: 0.6807 MB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.8953, allocations: 11.44 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8953, allocations: 0 / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of Templates: time 0.002351/0.8976, allocations: 0.9271 MB / 1.174 GB, free: 12.43 MB / 0.9044 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