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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.427/3.427, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 1.094 kB / 0.8774 GB, free: 5.555 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.73e-05/4.023e-05, allocations: 6.25 kB / 0.8774 GB, free: 5.547 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002468/0.002508, allocations: 0.6082 MB / 0.878 GB, free: 4.965 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.004851, allocations: 1.137 MB / 0.8791 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.004902, allocations: 5.266 kB / 0.8791 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.004932, allocations: 3.938 kB / 0.8792 GB, free: 3.809 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.161e-05/0.005024, allocations: 7.062 kB / 0.8792 GB, free: 3.805 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.005621, allocations: 118.1 kB / 0.8793 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002296/0.00585, allocations: 92.25 kB / 0.8794 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.005957, allocations: 7.984 kB / 0.8794 GB, free: 3.598 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.0061, allocations: 49.91 kB / 0.8794 GB, free: 3.551 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.00624, allocations: 27.95 kB / 0.8794 GB, free: 3.523 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.006277, allocations: 8 kB / 0.8794 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.479e-05/0.006372, allocations: 27.86 kB / 0.8795 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.006397, allocations: 4 kB / 0.8795 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.006483, allocations: 34.44 kB / 0.8795 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.006733, allocations: 95.83 kB / 0.8796 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.006739, allocations: 3.984 kB / 0.8796 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.72e-07/0.00674, allocations: 0 / 0.8796 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.006745, allocations: 0 / 0.8796 GB, free: 3.355 MB / 0.7917 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.0007109/0.007456, allocations: 405.9 kB / 0.88 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.007505, allocations: 8.031 kB / 0.88 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.00758, allocations: 9.609 kB / 0.88 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.007736, allocations: 108.6 kB / 0.8801 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.007765, allocations: 6.031 kB / 0.8801 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.007796, allocations: 12.31 kB / 0.8801 GB, free: 2.75 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.007925, allocations: 38.25 kB / 0.8802 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.007936, allocations: 192 / 0.8802 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.007949, allocations: 1.719 kB / 0.8802 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.007955, allocations: 384 / 0.8802 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.413e-05/0.008029, allocations: 15.92 kB / 0.8802 GB, free: 2.691 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.008613, allocations: 279.8 kB / 0.8805 GB, free: 2.383 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.008728, allocations: 46.97 kB / 0.8805 GB, free: 2.324 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.008773, allocations: 15.75 kB / 0.8805 GB, free: 2.305 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.008788, allocations: 3.938 kB / 0.8805 GB, free: 2.301 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.00897, allocations: 73 kB / 0.8806 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.008971, allocations: 0 / 0.8806 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0003206/0.009292, allocations: 77.56 kB / 0.8807 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.009357, allocations: 51.41 kB / 0.8807 GB, free: 2.07 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.009544, allocations: 173.9 kB / 0.8809 GB, free: 1.883 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.009585, allocations: 29.7 kB / 0.8809 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.009707, allocations: 134.9 kB / 0.881 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.00973, allocations: 11.95 kB / 0.881 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.009832, allocations: 35.36 kB / 0.8811 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003439/0.01018, allocations: 0.4884 MB / 0.8816 GB, free: 1.156 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.01034, allocations: 73.67 kB / 0.8816 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.01053, allocations: 92.75 kB / 0.8817 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.01073, allocations: 104.7 kB / 0.8818 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01073, allocations: 0 / 0.8818 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004704/0.0112, allocations: 205 kB / 0.882 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.01127, allocations: 43.67 kB / 0.882 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.01127, allocations: 0 / 0.882 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.01129, allocations: 4 kB / 0.8821 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/0.01135, allocations: 0 / 0.8821 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.01137, allocations: 7.984 kB / 0.8821 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.01159, allocations: 19.92 kB / 0.8821 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.01162, allocations: 4 kB / 0.8821 GB, free: 0.5469 MB / 0.7917 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.0001762/0.0118, allocations: 164.5 kB / 0.8822 GB, free: 384 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.01182, allocations: 15.97 kB / 0.8823 GB, free: 368 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.01186, allocations: 11.94 kB / 0.8823 GB, free: 352 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.01186, allocations: 4 kB / 0.8823 GB, free: 348 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.01186, allocations: 0 / 0.8823 GB, free: 348 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01187, allocations: 0 / 0.8823 GB, free: 348 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.01204, allocations: 120.6 kB / 0.8824 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01204, allocations: 0 / 0.8824 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.01206, allocations: 0 / 0.8824 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.01206, allocations: 4 kB / 0.8824 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01207, allocations: 0 / 0.8824 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.01207, allocations: 3.938 kB / 0.8824 GB, free: 184 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01208, allocations: 7.938 kB / 0.8824 GB, free: 176 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.01228, allocations: 96.42 kB / 0.8825 GB, free: 56 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.0123, allocations: 7.953 kB / 0.8825 GB, free: 48 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.01232, allocations: 7.938 kB / 0.8825 GB, free: 40 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.517e-05/0.01234, allocations: 3.938 kB / 0.8825 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.01238, allocations: 3.984 kB / 0.8825 GB, free: 32 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.01239, allocations: 4 kB / 0.8825 GB, free: 28 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001206/0.01251, allocations: 127.2 kB / 0.8826 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01251, allocations: 0 / 0.8826 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003369/0.01285, allocations: 16 kB / 0.8827 GB, free: 15.89 MB / 0.8073 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.0001978/0.01305, allocations: 107.2 kB / 0.8828 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.01344, allocations: 176.7 kB / 0.8829 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01344, allocations: 0 / 0.8829 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.0135, allocations: 24.06 kB / 0.8829 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.01379, allocations: 11.92 kB / 0.883 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000415/0.0142, allocations: 134.4 kB / 0.8831 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.717e-05/0.01429, allocations: 63.34 kB / 0.8831 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.01432, allocations: 8.109 kB / 0.8832 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.01435, allocations: 12.5 kB / 0.8832 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of SimCode: time 6.92e-07/0.01435, allocations: 0 / 0.8832 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of Templates: time 0.005877/0.02022, allocations: 1.194 MB / 0.8843 GB, free: 14.12 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 240] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.508927325019613]