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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001185/0.001185, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.001066/0.001066, allocations: 191.4 kB / 17.31 MB, free: 5.613 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.25 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2995, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001903/0.3015, allocations: 0.616 MB / 0.9517 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3029, allocations: 1.107 MB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.375e-05/0.3029, allocations: 0 / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.303, allocations: 3.938 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.3031, allocations: 7.938 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.3036, allocations: 122.6 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3038, allocations: 107.8 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.3039, allocations: 7.984 kB / 0.9531 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.304, allocations: 31.98 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.571e-05/0.3041, allocations: 35.89 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.3041, allocations: 12 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-05/0.3042, allocations: 23.97 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.3042, allocations: 4 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.3043, allocations: 35.84 kB / 0.9532 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.3044, allocations: 83.72 kB / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3044, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3044, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.83e-06/0.3045, allocations: 0 / 0.9533 GB, free: 5.816 MB / 0.7325 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.000453/0.3049, allocations: 377.1 kB / 0.9536 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.305, allocations: 12.03 kB / 0.9536 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.305, allocations: 12.84 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.3051, allocations: 160.4 kB / 0.9538 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.3051, allocations: 4.375 kB / 0.9538 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.3052, allocations: 12.36 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.474e-05/0.3053, allocations: 30.27 kB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3053, allocations: 192 / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.3053, allocations: 11.92 kB / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3053, allocations: 0 / 0.9539 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.998e-05/0.3053, allocations: 11.94 kB / 0.9539 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.3057, allocations: 300.7 kB / 0.9542 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.448e-05/0.3058, allocations: 30.52 kB / 0.9542 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.3059, allocations: 8.859 kB / 0.9542 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.3059, allocations: 4.062 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.306, allocations: 67.27 kB / 0.9543 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.306, allocations: 4 kB / 0.9543 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001937/0.3062, allocations: 61.69 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.3063, allocations: 63.38 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.3064, allocations: 109.8 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.3064, allocations: 25.7 kB / 0.9545 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.3064, allocations: 92.05 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.3065, allocations: 3.906 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.939e-05/0.3065, allocations: 29.7 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3067, allocations: 326.8 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.201e-05/0.3068, allocations: 27.98 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.142e-05/0.3069, allocations: 50.81 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.307, allocations: 88.33 kB / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.307, allocations: 3.938 kB / 0.9551 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002859/0.3073, allocations: 147.3 kB / 0.9553 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.284e-05/0.3074, allocations: 45.62 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3074, allocations: 80 / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3074, allocations: 4 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.271e-05/0.3075, allocations: 3.938 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3075, allocations: 3.984 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.3077, allocations: 27.97 kB / 0.9553 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.3077, allocations: 4 kB / 0.9553 GB, free: 3.426 MB / 0.7325 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.000108/0.3078, allocations: 127.8 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.3078, allocations: 7.906 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.643e-05/0.3079, allocations: 3.906 kB / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3079, allocations: 0 / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3079, allocations: 0 / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3079, allocations: 240 / 0.9555 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.308, allocations: 169.6 kB / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.308, allocations: 0 / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.3081, allocations: 4 kB / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3081, allocations: 7.984 kB / 0.9556 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3081, allocations: 0 / 0.9556 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3081, allocations: 0 / 0.9556 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3081, allocations: 0 / 0.9556 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.3082, allocations: 88.98 kB / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.3083, allocations: 85.02 kB / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.3083, allocations: 0 / 0.9558 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.3083, allocations: 7.938 kB / 0.9558 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.3084, allocations: 8 kB / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.3084, allocations: 0 / 0.9558 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.899e-05/0.3084, allocations: 87.27 kB / 0.9559 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3084, allocations: 0 / 0.9559 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002089/0.3086, allocations: 20 kB / 0.9559 GB, free: 2.719 MB / 0.7325 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.000158/0.3088, allocations: 103.2 kB / 0.956 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.309, allocations: 127.3 kB / 0.9561 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3091, allocations: 0 / 0.9561 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-05/0.3091, allocations: 16.12 kB / 0.9562 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.3093, allocations: 15.14 kB / 0.9562 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.3096, allocations: 130.1 kB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3099, allocations: 0.6883 MB / 0.957 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.3099, allocations: 0 / 0.957 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.3099, allocations: 15.38 kB / 0.957 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.31, allocations: 0 / 0.957 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of Templates: time 0.003446/0.3134, allocations: 1.083 MB / 0.958 GB, free: 500 kB / 0.7325 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 -s gbode -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