Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001404/0.001404, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.001365/0.001365, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7892, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001815/0.791, allocations: 0.5995 MB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001342/0.7924, allocations: 1.108 MB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.7925, allocations: 5.25 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.7925, allocations: 3.938 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.318e-05/0.7926, allocations: 10.38 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.7931, allocations: 123.8 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.7933, allocations: 94.89 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.624e-05/0.7934, allocations: 9.719 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.7935, allocations: 33.5 kB / 1.091 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.7936, allocations: 35.33 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.7936, allocations: 7.656 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.352e-05/0.7937, allocations: 19.02 kB / 1.091 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.7938, allocations: 9.891 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.7938, allocations: 32.03 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.794, allocations: 86.8 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.794, allocations: 1.125 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.794, allocations: 4 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.7941, allocations: 0 / 1.091 GB, free: 4.113 MB / 0.8575 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.0004232/0.7945, allocations: 380.6 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.7945, allocations: 8.781 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.7946, allocations: 5.125 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/0.7947, allocations: 171.6 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.7947, allocations: 3.203 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.7947, allocations: 9.641 kB / 1.091 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.7949, allocations: 39.17 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.7949, allocations: 4.797 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7949, allocations: 5.062 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.7949, allocations: 0 / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.231e-05/0.7949, allocations: 18.84 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.7953, allocations: 292.7 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.455e-05/0.7954, allocations: 29.91 kB / 1.092 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.7954, allocations: 14.12 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.7955, allocations: 5.281 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.7956, allocations: 61.78 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.7956, allocations: 0 / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002125/0.7959, allocations: 66.56 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.7959, allocations: 52.5 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.796, allocations: 118.2 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.796, allocations: 28.62 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.7961, allocations: 88 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.301e-05/0.7961, allocations: 13.73 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.445e-05/0.7961, allocations: 30.25 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.7962, allocations: 313.5 kB / 1.092 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-05/0.7963, allocations: 37.48 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/0.7964, allocations: 50.31 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.7965, allocations: 85.36 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7965, allocations: 3.938 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002608/0.7968, allocations: 145.1 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.7968, allocations: 35.03 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.7968, allocations: 1.562 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7968, allocations: 1.656 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.7969, allocations: 7.328 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7969, allocations: 0.9062 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.7971, allocations: 40.14 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.7972, allocations: 7.141 kB / 1.093 GB, free: 2.125 MB / 0.8575 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 6.961e-05/0.7972, allocations: 119.8 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.7973, allocations: 2.203 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.7973, allocations: 5.266 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7973, allocations: 1 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.7973, allocations: 0.75 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7973, allocations: 5.062 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.216e-05/0.7974, allocations: 166.7 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7974, allocations: 1.062 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.7974, allocations: 2.734 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7974, allocations: 4 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.7974, allocations: 1.672 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7975, allocations: 0.7812 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7975, allocations: 1.594 kB / 1.093 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.7976, allocations: 95.02 kB / 1.093 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.7976, allocations: 83.19 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.7976, allocations: 1.281 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.655e-05/0.7976, allocations: 1.391 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.7977, allocations: 6.625 kB / 1.093 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.7977, allocations: 6.062 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.039e-05/0.7977, allocations: 82.66 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7977, allocations: 0.8125 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002223/0.798, allocations: 19.03 kB / 1.093 GB, free: 1.516 MB / 0.8575 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.0001293/0.7981, allocations: 108.8 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.7983, allocations: 131.1 kB / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7984, allocations: 0 / 1.094 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.346e-05/0.7984, allocations: 15.77 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.7986, allocations: 12.7 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.7989, allocations: 155.7 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.799, allocations: 0.6842 MB / 1.094 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.753e-05/0.799, allocations: 9.688 kB / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.799, allocations: 0 / 1.094 GB, free: 472 kB / 0.8575 GB Notification: Performance of Templates: time 0.00274/0.8018, allocations: 0.9429 MB / 1.095 GB, free: 384 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches