Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0007569/0.0007568, allocations: 92.16 kB / 16.02 MB, free: 76 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.0008725/0.0008724, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.272/1.272, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.439/2.439, allocations: 443.2 MB / 0.7181 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 10.11 kB / 0.8801 GB, free: 42.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2452, allocations: 155.2 MB / 1.032 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0006977/0.2459, allocations: 334.9 kB / 1.032 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2472, allocations: 1.117 MB / 1.033 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.2472, allocations: 0 / 1.033 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.265e-05/0.2472, allocations: 0 / 1.033 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.2473, allocations: 11.94 kB / 1.033 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.2477, allocations: 111.1 kB / 1.033 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.79e-05/0.2478, allocations: 79.81 kB / 1.033 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.339e-05/0.2478, allocations: 8 kB / 1.033 GB, free: 3.043 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.566e-05/0.2479, allocations: 27.92 kB / 1.033 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.603e-05/0.248, allocations: 27.91 kB / 1.033 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.248, allocations: 4 kB / 1.033 GB, free: 2.984 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.409e-05/0.2481, allocations: 15.98 kB / 1.033 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.2481, allocations: 15.97 kB / 1.033 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.2481, allocations: 45.62 kB / 1.033 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.101e-05/0.2482, allocations: 59.86 kB / 1.033 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2483, allocations: 0 / 1.033 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2483, allocations: 3.938 kB / 1.033 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2483, allocations: 0 / 1.033 GB, free: 2.84 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.0003244/0.2486, allocations: 361.4 kB / 1.034 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.2486, allocations: 12.02 kB / 1.034 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.2487, allocations: 8.844 kB / 1.034 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.2488, allocations: 168.3 kB / 1.034 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2488, allocations: 8.375 kB / 1.034 GB, free: 2.199 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.2488, allocations: 8.375 kB / 1.034 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.931e-05/0.2489, allocations: 34.25 kB / 1.034 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.2489, allocations: 192 / 1.034 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.2489, allocations: 3.938 kB / 1.034 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.249, allocations: 4 kB / 1.034 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.249, allocations: 11.98 kB / 1.034 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.2493, allocations: 292.8 kB / 1.034 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.253e-05/0.2494, allocations: 30.45 kB / 1.034 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.2494, allocations: 16.91 kB / 1.034 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.2494, allocations: 0 / 1.034 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.2496, allocations: 71.23 kB / 1.034 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2496, allocations: 0 / 1.034 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001682/0.2497, allocations: 73.61 kB / 1.034 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.2498, allocations: 55.41 kB / 1.035 GB, free: 1.512 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.2499, allocations: 109.8 kB / 1.035 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.2499, allocations: 29.7 kB / 1.035 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.2499, allocations: 88.14 kB / 1.035 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.2499, allocations: 7.891 kB / 1.035 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.25, allocations: 13.72 kB / 1.035 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.2501, allocations: 314.8 kB / 1.035 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.2502, allocations: 27.98 kB / 1.035 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.641e-05/0.2502, allocations: 58.86 kB / 1.035 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.2503, allocations: 84.2 kB / 1.035 GB, free: 0.7344 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2504, allocations: 7.938 kB / 1.035 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002267/0.2506, allocations: 147.2 kB / 1.035 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.2506, allocations: 37.7 kB / 1.035 GB, free: 0.5273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2506, allocations: 4.062 kB / 1.035 GB, free: 0.5234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.2507, allocations: 3.938 kB / 1.035 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.2507, allocations: 7.984 kB / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.2507, allocations: 80 / 1.035 GB, free: 0.5117 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.2509, allocations: 35.97 kB / 1.035 GB, free: 488 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.251, allocations: 11.98 kB / 1.035 GB, free: 476 kB / 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 7.67e-05/0.251, allocations: 127.2 kB / 1.036 GB, free: 340 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.2511, allocations: 7.906 kB / 1.036 GB, free: 332 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.2511, allocations: 7.906 kB / 1.036 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2511, allocations: 0 / 1.036 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.2511, allocations: 0 / 1.036 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.2511, allocations: 0 / 1.036 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.2512, allocations: 169.6 kB / 1.036 GB, free: 100 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2512, allocations: 0 / 1.036 GB, free: 100 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.2512, allocations: 8 kB / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2513, allocations: 0 / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.2513, allocations: 0 / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2513, allocations: 0 / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2513, allocations: 0 / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.2514, allocations: 89.05 kB / 1.036 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.2514, allocations: 85.02 kB / 1.036 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.2514, allocations: 0 / 1.036 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.2515, allocations: 8 kB / 1.036 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.202e-05/0.2515, allocations: 11.94 kB / 1.036 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.2515, allocations: 0 / 1.036 GB, free: 15.86 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.047e-05/0.2515, allocations: 87.27 kB / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2515, allocations: 0 / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001976/0.2518, allocations: 20 kB / 1.036 GB, free: 15.76 MB / 0.795 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.0001123/0.2519, allocations: 103.2 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.2521, allocations: 123.4 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2521, allocations: 4.125 kB / 1.036 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.2521, allocations: 15.94 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.2523, allocations: 15.92 kB / 1.036 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/0.2526, allocations: 164.3 kB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.2528, allocations: 0.677 MB / 1.037 GB, free: 14.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.2528, allocations: 19.44 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.2528, allocations: 0 / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of Templates: time 0.002128/0.2549, allocations: 0.9104 MB / 1.038 GB, free: 13.66 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches