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.001517/0.001517, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001753/0.001753, allocations: 189.8 kB / 17.2 MB, free: 5.953 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 / 240.9 MB, free: 15.27 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.294/2.294, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 60.56 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2787, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001959/0.2807, allocations: 0.5997 MB / 0.9509 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.282, allocations: 1.111 MB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.2821, allocations: 0 / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.804e-05/0.2822, allocations: 3.938 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.2822, allocations: 11.92 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.2827, allocations: 123.1 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.2829, allocations: 95.88 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/0.283, allocations: 4 kB / 0.9522 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.2831, allocations: 35.92 kB / 0.9522 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.2831, allocations: 27.89 kB / 0.9522 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.2832, allocations: 11.98 kB / 0.9523 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.066e-05/0.2832, allocations: 23.98 kB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.2833, allocations: 4 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.2833, allocations: 23.92 kB / 0.9523 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2835, allocations: 91.72 kB / 0.9524 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2835, allocations: 4 kB / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2835, allocations: 0 / 0.9524 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2835, allocations: 0 / 0.9524 GB, free: 6.699 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.0004167/0.2839, allocations: 381.4 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.284, allocations: 8.031 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.284, allocations: 8.844 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2841, allocations: 168.4 kB / 0.9529 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2842, allocations: 384 / 0.9529 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.2842, allocations: 4.375 kB / 0.9529 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.2843, allocations: 46.25 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2843, allocations: 192 / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.2843, allocations: 3.938 kB / 0.953 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2843, allocations: 0 / 0.953 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.2844, allocations: 15.88 kB / 0.953 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.2847, allocations: 304.7 kB / 0.9533 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.45e-05/0.2848, allocations: 34.52 kB / 0.9533 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.357e-05/0.2848, allocations: 12.91 kB / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.2848, allocations: 0 / 0.9533 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.285, allocations: 67.33 kB / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.285, allocations: 0 / 0.9534 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001778/0.2852, allocations: 61.69 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.2852, allocations: 55.41 kB / 0.9535 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.2853, allocations: 109.8 kB / 0.9536 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2853, allocations: 37.64 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.2854, allocations: 84.05 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.2854, allocations: 11.91 kB / 0.9537 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.549e-05/0.2855, allocations: 33.69 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.2856, allocations: 310.8 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.2857, allocations: 31.98 kB / 0.9541 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.2858, allocations: 62.48 kB / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.2859, allocations: 72.28 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2859, allocations: 3.938 kB / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000258/0.2861, allocations: 155.3 kB / 0.9544 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.2862, allocations: 29.7 kB / 0.9544 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2862, allocations: 4 kB / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2862, allocations: 304 / 0.9544 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.2863, allocations: 11.94 kB / 0.9544 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2863, allocations: 0 / 0.9544 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.2865, allocations: 31.95 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.2865, allocations: 4 kB / 0.9545 GB, free: 4.309 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 8.512e-05/0.2866, allocations: 115.8 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/0.2866, allocations: 15.89 kB / 0.9546 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.2867, allocations: 3.906 kB / 0.9546 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2867, allocations: 7.984 kB / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2867, allocations: 0 / 0.9546 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2867, allocations: 4 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2868, allocations: 157.6 kB / 0.9548 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2868, allocations: 0 / 0.9548 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.2868, allocations: 11.92 kB / 0.9548 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.2868, allocations: 0 / 0.9548 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2869, allocations: 8.062 kB / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2869, allocations: 0 / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2869, allocations: 4 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.287, allocations: 89 kB / 0.9549 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.2871, allocations: 81.02 kB / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.2871, allocations: 3.984 kB / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.462e-05/0.2871, allocations: 0 / 0.9549 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.2871, allocations: 4 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.2871, allocations: 0 / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.2872, allocations: 91.27 kB / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2872, allocations: 0 / 0.955 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002162/0.2874, allocations: 23.94 kB / 0.9551 GB, free: 3.598 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.0001372/0.2876, allocations: 103.2 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.2878, allocations: 127.3 kB / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2878, allocations: 0 / 0.9553 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.142e-05/0.2878, allocations: 19.98 kB / 0.9553 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.288, allocations: 12.12 kB / 0.9553 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.2884, allocations: 163.9 kB / 0.9555 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.2886, allocations: 0.6883 MB / 0.9561 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.2887, allocations: 7.438 kB / 0.9561 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.2887, allocations: 0 / 0.9561 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of Templates: time 0.002454/0.2911, allocations: 0.9355 MB / 0.9571 GB, free: 1.477 MB / 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 -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